Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • budi erwanto 11 posts 61 karma points
    Aug 20, 2013 @ 09:45
    budi erwanto
    0

    Entity Framework

    Hi all, 

    Does anyone has same experince when using entity framework 4.4. This is the screen shoot :

     

     

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Aug 20, 2013 @ 09:49
    Dave Woestenborghs
    0

    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

  • budi erwanto 11 posts 61 karma points
    Aug 20, 2013 @ 09:54
    budi erwanto
    0

    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.

     

     

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Aug 20, 2013 @ 10:00
    Dave Woestenborghs
    0

    I'm not a EF expert so sorry that I can't be more of a help.

  • Akansha Yadav 2 posts 72 karma points
    Apr 30, 2020 @ 12:16
    Akansha Yadav
    0

    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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies