ObjectContext.LoadProperty Method (Object, String)
Explicitly loads an object related to the supplied object by the specified navigation property and using the default merge option.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Themethod must be called to achieve explicit loading when you are using POCO custom data classes.
After calling, the related object can be accessed through the navigation properties of the source entity.
When using POCO custom data classes, related objects cannot be explicitly loaded like instances of entity types that are generated by the Entity Data Model tools. This is because the tools generate the navigation properties that return an EntityCollection<'TEntity> or EntityReference<'TEntity> of related objects when Load is called on a T:System.Data.Objects.DataClasses.RelatedEnd`1. POCO entities can still be loaded by using lazy loading by setting the LazyLoadingEnabled property to true on the instance of ObjectContextOptions that is returned by the ObjectContext.ContextOptions property, or by using eager loading with the Include method on the ObjectQuery<'T>.
Available since 4.0