EF Version is 4.4, and its model first ( I create database and then from the edmx editor i click update from database ). I already try google and stackoverflow with the same keyword but no luck.
If you define your navigation property virtual, Entity Framework will at runtime create a new class (dynamic proxy) derived from your class and uses it instead of your original class. This new dynamically created class contains logic to load the navigation property when accessed for the first time. This is referred to as “lazy loading”. It enables Entity Framework to avoid loading an entire tree of dependent objects which are not needed from the database.
Entity Framework
Hi all,
Does anyone has same experince when using entity framework 4.4. This is the screen shoot :
First,
What version of EF are you using ? Code First, model first ?
Looking at the error it seems it is a entity framework error and not Umbraco related.
So I think you will have better luck using Google or Stack overflow for solving this error :
https://www.google.nl/search?q=entity+framework+invalid+column+error&oq=entity+framework+invalid+column+error&aqs=chrome.0.69i57j0.13482j0&sourceid=chrome&ie=UTF-8#fp=a84bdb25f7f45631&q=entity+framework+invalid+column+name
Hi dawoe we meet again :D,
EF Version is 4.4, and its model first ( I create database and then from the edmx editor i click update from database ). I already try google and stackoverflow with the same keyword but no luck.
I'm not a EF expert so sorry that I can't be more of a help.
If you define your navigation property virtual, Entity Framework will at runtime create a new class (dynamic proxy) derived from your class and uses it instead of your original class. This new dynamically created class contains logic to load the navigation property when accessed for the first time. This is referred to as “lazy loading”. It enables Entity Framework to avoid loading an entire tree of dependent objects which are not needed from the database.
https://dipoletechi.com/blog-post/virtual-in-entity-framework/
Regarding
is working on a reply...