Sdílet prostřednictvím


ConventionEntityTypeExtensions.FindNavigation Metoda

Definice

Přetížení

FindNavigation(IConventionEntityType, MemberInfo)

Získá navigační vlastnost pro daný typ entity. Vrátí, null pokud není nalezena žádná vlastnost navigace.

FindNavigation(IConventionEntityType, String)

Získá navigační vlastnost pro daný typ entity. Vrátí, null pokud není nalezena žádná vlastnost navigace.

FindNavigation(IConventionEntityType, MemberInfo)

Získá navigační vlastnost pro daný typ entity. Vrátí, null pokud není nalezena žádná vlastnost navigace.

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

Parametry

entityType
IConventionEntityType

Typ entity.

memberInfo
MemberInfo

Vlastnost navigation ve třídě entity.

Návraty

Vlastnost navigace nebo null pokud nebyla nalezena žádná.

Platí pro

FindNavigation(IConventionEntityType, String)

Získá navigační vlastnost pro daný typ entity. Vrátí, null pokud není nalezena žádná vlastnost navigace.

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

Parametry

entityType
IConventionEntityType

Typ entity.

name
String

Název vlastnosti navigace ve třídě entity.

Návraty

Vlastnost navigace nebo null pokud nebyla nalezena žádná.

Platí pro