EF database first - entities in collection don't load dependencies RRS feed

  • Question

  • Hello,

    I have problem with EF database first. I have Car class with collection of Trips and every Trip have AddressStart and AddressEnd, it's in database as a FK.

    But I can't load AddressStart and AddressEnd (I have empty classes). Where is problem?

    Thank you guys.. :)

    Monday, April 8, 2013 5:40 PM

All replies

  • Hi SebastianBusek;

    Can you post the code you are using and a image of the database schema.


    Fernando (MCSD)

    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Monday, April 8, 2013 7:17 PM