MutableEntityTypeExtensions.FindNavigation Methode

Definition

Überlädt

FindNavigation(IMutableEntityType, MemberInfo)

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

FindNavigation(IMutableEntityType, PropertyInfo)

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

FindNavigation(IMutableEntityType, String)

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

FindNavigation(IMutableEntityType, MemberInfo)

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

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

Parameter

entityType
IMutableEntityType

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(IMutableEntityType, 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.IMutableNavigation FindNavigation (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Reflection.PropertyInfo propertyInfo);
static member FindNavigation : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation
<Extension()>
Public Function FindNavigation (entityType As IMutableEntityType, propertyInfo As PropertyInfo) As IMutableNavigation

Parameter

entityType
IMutableEntityType

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(IMutableEntityType, String)

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

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

Parameter

entityType
IMutableEntityType

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: