Anzahl der Beiträge:
28
Karma:
304
Beigetreten:
12.04.2013
Herkunft:
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
Anzahl der Beiträge:
4
Karma:
30
Beigetreten:
24.01.2014
Herkunft:
United States
Worked for me as well! Starting to remember why I don't use EF.
Anzahl der Beiträge:
18
Karma:
90
Beigetreten:
26.08.2014
Herkunft:
India
Thank you very much. I had no clue why all of sudden it stopped working.Your solution worked like charm. Thank you.
Anzahl der Beiträge:
14
Karma:
100
Beigetreten:
15.10.2009
Herkunft:
United States
This worked - thanks so much! EF is blowing my mind!
Anzahl der Beiträge:
152
Karma:
874
Beigetreten:
05.08.2014
Herkunft:
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?
Anzahl der Beiträge:
3
Karma:
25
Beigetreten:
23.10.2016
Herkunft:
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.