IRelatedEnd::Load Method (MergeOption)
.NET Framework (current version)
Loads the related object or objects into the related end with the specified merge option.
Assembly: System.Data.Entity (in System.Data.Entity.dll)
Parameters
- mergeOption
-
Type:
System.Data.Objects::MergeOption
The MergeOption to use when merging objects into an existing EntityCollection<TEntity>.
The RelatedEnd class implements the Load method. Both the EntityCollection<TEntity> and EntityReference<TEntity> classes override this implementation.
Load is called to explicitly load related objects from a related end that is exposed by a navigation property. For more information, see Loading Related Objects.
The Load method loads related objects from the data source whether or not IsLoaded is true.
.NET Framework
Available since 3.5
Available since 3.5
Show: