EntityCollection<TEntity>.Load Method
Namespace:
System.Data.Entity.Core.Objects.DataClasses
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Load() | Loads the related object or objects into the related end with the default merge option.(Inherited from RelatedEnd.) |
![]() | Load(MergeOption) | Loads related objects into the collection, using the specified merge option.(Overrides RelatedEnd.Load(MergeOption).) |
EntityCollection<TEntity>.Load Method (MergeOption)
Loads related objects into the collection, using the specified merge option.
Parameters
- mergeOption
-
Type:
System.Data.Entity.Core.Objects.MergeOption
Specifies how the objects in this collection should be merged with the objects that might have been returned from previous queries against the same ObjectContext .