ILazyLoader.Load(Object, String) Method
Definition
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 a navigation property if it has not already been loaded.
public void Load (object entity, string navigationName = default);
public void Load (object entity, string navigationName = "");
abstract member Load : obj * string -> unit
Public Sub Load (entity As Object, Optional navigationName As String = Nothing)
Public Sub Load (entity As Object, Optional navigationName As String = "")
Parameters
- entity
- Object
The entity on which the navigation property is located.
- navigationName
- String
The navigation property name.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework