EntityTypeExtensions.FindNavigation Methode

Definition

Überlädt

FindNavigation(IEntityType, MemberInfo)

Ruft eine Navigationseigenschaft für den angegebenen Entitätstyp ab. Gibt zurück null , wenn keine Navigationseigenschaft gefunden wird.

FindNavigation(IEntityType, PropertyInfo)

Ruft eine Navigationseigenschaft für den angegebenen Entitätstyp ab. Gibt NULL zurück, wenn keine Navigationseigenschaft gefunden wird.

FindNavigation(IEntityType, String)

Ruft eine Navigationseigenschaft für den angegebenen Entitätstyp ab. Gibt zurück null , wenn keine Navigationseigenschaft gefunden wird.

FindNavigation(IEntityType, MemberInfo)

Ruft eine Navigationseigenschaft für den angegebenen Entitätstyp ab. Gibt zurück null , wenn keine Navigationseigenschaft gefunden wird.

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.MemberInfo memberInfo);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, memberInfo As MemberInfo) As INavigation

Parameter

entityType
IEntityType

Der Entitätstyp.

memberInfo
MemberInfo

Die Navigationseigenschaft für die Entitätsklasse.

Gibt zurück

Die Navigationseigenschaft oder null , wenn keine gefunden wird.

Gilt für:

FindNavigation(IEntityType, PropertyInfo)

Ruft eine Navigationseigenschaft für den angegebenen Entitätstyp ab. Gibt NULL zurück, wenn keine Navigationseigenschaft gefunden wird.

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Reflection.PropertyInfo propertyInfo);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, propertyInfo As PropertyInfo) As INavigation

Parameter

entityType
IEntityType

Der Entitätstyp, für den die Navigationseigenschaft gesucht werden soll.

propertyInfo
PropertyInfo

Die Navigationseigenschaft für die Entitätsklasse.

Gibt zurück

Die Navigationseigenschaft oder NULL, wenn keine gefunden wird.

Gilt für:

FindNavigation(IEntityType, String)

Ruft eine Navigationseigenschaft für den angegebenen Entitätstyp ab. Gibt zurück null , wenn keine Navigationseigenschaft gefunden wird.

public static Microsoft.EntityFrameworkCore.Metadata.INavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, string name);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.INavigation
<Extension()>
Public Function FindNavigation (entityType As IEntityType, name As String) As INavigation

Parameter

entityType
IEntityType

Der Entitätstyp.

name
String

Der Name der Navigationseigenschaft für die Entitätsklasse.

Gibt zurück

Die Navigationseigenschaft oder null , wenn keine gefunden wird.

Gilt für: