Aracılığıyla paylaş


EntityTypeExtensions.GetDiscriminatorProperty(IEntityType) Yöntem

Tanım

Dikkat

Use IReadOnlyEntityType.FindDiscriminatorProperty

IReadOnlyProperty Ayrımcı değeri depolamak için kullanılacak değerini döndürür.

public static Microsoft.EntityFrameworkCore.Metadata.IProperty GetDiscriminatorProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
[System.Obsolete("Use IReadOnlyEntityType.FindDiscriminatorProperty")]
public static Microsoft.EntityFrameworkCore.Metadata.IProperty? GetDiscriminatorProperty (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IProperty
[<System.Obsolete("Use IReadOnlyEntityType.FindDiscriminatorProperty")>]
static member GetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IProperty
<Extension()>
Public Function GetDiscriminatorProperty (entityType As IEntityType) As IProperty

Parametreler

entityType
IEntityType

Varlık türü.

Döndürülenler

Öznitelikler

Şunlara uygulanır