none
Lazy loading EF 6.0 RRS feed

  • Question

  • Hello!
    I know about lazy loading in EF.
    And I have a question.
    If I want to evaluate all threads right away(download all information from database). How can I do this?
    Saturday, December 28, 2013 10:59 AM

Answers

  • Hi Artyom;

    Please read the following web page on loading entities.

    Loading Related Entities


    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.

    Saturday, December 28, 2013 3:30 PM
  • I was designed my application with DDD.
    And I don't to take full information from repositories.

    I found a solution.
    It was my mistake, I disposed context earlier than it was needed.

    Thank you for article.

    Saturday, December 28, 2013 4:06 PM

All replies

  • Hi Artyom;

    Please read the following web page on loading entities.

    Loading Related Entities


    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.

    Saturday, December 28, 2013 3:30 PM
  • I was designed my application with DDD.
    And I don't to take full information from repositories.

    I found a solution.
    It was my mistake, I disposed context earlier than it was needed.

    Thank you for article.

    Saturday, December 28, 2013 4:06 PM