Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Loads the related object or objects into this related end.
Load() |
Loads the related object or objects into this related end with the default merge option. |
Load(MergeOption) |
Loads the related object or objects into the related end with the specified merge option. |
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.
Loads the related object or objects into this related end with the default merge option.
public:
void Load();
public void Load();
abstract member Load : unit -> unit
Public Sub Load ()
The RelatedEnd class implements the Load method of IRelatedEnd. For more information, see Load.
Load is called to explicitly load related objects from a related end 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
.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Loads the related object or objects into the related end with the specified merge option.
public:
void Load(System::Data::Objects::MergeOption mergeOption);
public void Load(System.Data.Objects.MergeOption mergeOption);
abstract member Load : System.Data.Objects.MergeOption -> unit
Public Sub Load (mergeOption As 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
.
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in