Sdílet prostřednictvím


MutableNavigationExtensions.GetTargetType(IMutableNavigation) Metoda

Definice

Upozornění

Use IMutableNavigation.TargetEntityType

Získá typ entity, který daná navigační vlastnost bude obsahovat instanci (nebo blokování instancí, pokud se jedná o navigaci v kolekci).

public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType GetTargetType (this Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation navigation);
[System.Obsolete("Use IMutableNavigation.TargetEntityType")]
public static Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType GetTargetType (this Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation navigation);
static member GetTargetType : Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
[<System.Obsolete("Use IMutableNavigation.TargetEntityType")>]
static member GetTargetType : Microsoft.EntityFrameworkCore.Metadata.IMutableNavigation -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
<Extension()>
Public Function GetTargetType (navigation As IMutableNavigation) As IMutableEntityType

Parametry

navigation
IMutableNavigation

Vlastnost navigace pro vyhledání cílového typu entity

Návraty

Typ cílové entity.

Atributy

Platí pro