Nombre de messages:
28
Karma:
304
Inscrit:
12/04/2013
Localisation:
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
Nombre de messages:
4
Karma:
30
Inscrit:
24/01/2014
Localisation:
United States
Worked for me as well! Starting to remember why I don't use EF.
Nombre de messages:
18
Karma:
90
Inscrit:
26/08/2014
Localisation:
India
Thank you very much. I had no clue why all of sudden it stopped working.Your solution worked like charm. Thank you.
Nombre de messages:
14
Karma:
100
Inscrit:
15/10/2009
Localisation:
United States
This worked - thanks so much! EF is blowing my mind!
Nombre de messages:
152
Karma:
874
Inscrit:
05/08/2014
Localisation:
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?
Nombre de messages:
3
Karma:
25
Inscrit:
23/10/2016
Localisation:
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.