Tổng Bài đăng:
28
Karma:
304
Đã tham gia:
12/04/2013
Vị trí:
Germany
Hi folks, I have exactly the same issue. It can be fixed by setting this in the constructor of the context object as well. Might be slower - but anyway - what is the root cause of this issue? This might have side effects. Regards Jörg
Tổng Bài đăng:
4
Karma:
30
Đã tham gia:
24/01/2014
Vị trí:
United States
Worked for me as well! Starting to remember why I don't use EF.
Tổng Bài đăng:
18
Karma:
90
Đã tham gia:
26/08/2014
Vị trí:
India
Thank you very much. I had no clue why all of sudden it stopped working.Your solution worked like charm. Thank you.
Tổng Bài đăng:
14
Karma:
100
Đã tham gia:
15/10/2009
Vị trí:
United States
This worked - thanks so much! EF is blowing my mind!
Tổng Bài đăng:
152
Karma:
874
Đã tham gia:
05/08/2014
Vị trí:
Austria
having exactly the same issue. how do you implement code first migration with a plugin? http://www.pronopcommerce.com/using-entity-framework-ef-code-first-migrations-in-nopcommerce-for-fast-customizations this didnt help me too much sadly. the aformentioned "fix" seems more like a workaround? could that have any adveserial side effects?
Tổng Bài đăng:
3
Karma:
25
Đã tham gia:
23/10/2016
Vị trí:
Belgium
This message is also thrown when you forget to add your entity mapping to the modelbuilder in your objectcontext. In my case: i added an extra table. This table was created when the plugin installed, but EF did throw this exception.