How to load entity related as foreign key to another table RRS feed

  • Question

  • Hi,

    I have a table that has foreign key relationship to another table. In my code, I wanted the foreign key entity to load automatically when I access the property for the first time. How can I do that? I'm using POCO entities and DBContext of EFv4.3. 

    Thanks in advance.

    Friday, February 24, 2012 6:51 AM


All replies