Sdílet prostřednictvím


CosmosEntityTypeExtensions.GetContainingPropertyName Metoda

Definice

Přetížení

GetContainingPropertyName(IEntityType)

Vrátí název nadřazené vlastnosti, na kterou je typ entity namapován.

GetContainingPropertyName(IReadOnlyEntityType)

Vrátí název nadřazené vlastnosti, na kterou je typ entity namapován.

GetContainingPropertyName(IEntityType)

Vrátí název nadřazené vlastnosti, na kterou je typ entity namapován.

public static string GetContainingPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetContainingPropertyName : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> string
<Extension()>
Public Function GetContainingPropertyName (entityType As IEntityType) As String

Parametry

entityType
IEntityType

Typ entity, pro který chcete získat název obsahující vlastnosti.

Návraty

Název nadřazené vlastnosti, na kterou je typ entity mapován.

Platí pro

GetContainingPropertyName(IReadOnlyEntityType)

Vrátí název nadřazené vlastnosti, na kterou je typ entity namapován.

public static string? GetContainingPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType entityType);
static member GetContainingPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyEntityType -> string
<Extension()>
Public Function GetContainingPropertyName (entityType As IReadOnlyEntityType) As String

Parametry

entityType
IReadOnlyEntityType

Typ entity, pro který chcete získat název obsahující vlastnosti.

Návraty

Název nadřazené vlastnosti, na kterou je typ entity mapován.

Platí pro