Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8890371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:29:08+00:00 2026-06-14T22:29:08+00:00

I am using EF4, and I using the System.Data.Entity dll in my class. However,

  • 0

I am using EF4, and I using the System.Data.Entity dll in my class. However, I can’t see the load method of my navigation property of my entity.

How can I access to this method?

What I am doing is create e 4.0 project of .NET, create my edmx from a database, right click in the model edmx and I generate a DBContext.

However, I can access to the local property of my context, that I think that is a feature of EF4.

Thanks.
Daimroc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:29:10+00:00Added an answer on June 14, 2026 at 10:29 pm

    For the DbContext approach, the IsLoaded property and Load method have been moved:

    context.Entry(yourEntity)
       .Collection(entity => entity.NavigationProperty)
       .IsLoaded;
    
    context.Entry(yourEntity)
       .Collection(entity => entity.NavigationProperty)
       .Load();
    
    • Entry method: http://msdn.microsoft.com/en-us/library/gg696578(v=vs.103).aspx
    • Collection method: http://msdn.microsoft.com/en-us/library/gg671324(v=vs.103).aspx
    • IsLoaded property: http://msdn.microsoft.com/en-us/library/gg696146(v=vs.103).aspx
    • Load method: http://msdn.microsoft.com/en-us/library/gg696220(v=vs.103).aspx
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using EF4 and Linq I have a data structure which looks like this: parentid
I am using EF4 to read data from a view .This is a summary
I am getting started with Entity Framework using EF4 in VS 2010 RC. So
I am trying to create a generic method using EF4 to find the primary
We're using EF4 in a fairly large system and occasionally run into problems due
Using MvcScaffolding with EF4.1, I see that the first generated line of a Controller
Im using EF4 in VS2010, POCO's and the model-first approach. My entity has the
I'm using EF4.x Self Tracking Entities in my project and am trying to achieve
I'm using EF4 for a webapp. 99% of the time I'm using LINQ to
I am using EF4 with the EDM designer. I have two tables : Users

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.