Share via


MutableNavigationExtensions.GetTargetType(IMutableNavigation) Methode

Definition

Achtung

Use IMutableNavigation.TargetEntityType

Ruft den Entitätstyp ab, von dem eine angegebene Navigationseigenschaft eine instance enthält (oder Instanzen von enthält, wenn es sich um eine Sammlungsnavigation handelt).

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

Parameter

navigation
IMutableNavigation

Die Navigationseigenschaft, von der der Zielentitätstyp ermittelt werden soll.

Gibt zurück

Der Zielentitätstyp.

Attribute

Gilt für: