Поделиться через


ConventionEntityTypeExtensions.GetDiscriminatorProperty Метод

Определение

Возвращает объект , IConventionProperty который будет использоваться для хранения дискриминатора.

public static Microsoft.EntityFrameworkCore.Metadata.IConventionProperty GetDiscriminatorProperty (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
static member GetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
<Extension()>
Public Function GetDiscriminatorProperty (entityType As IConventionEntityType) As IConventionProperty

Параметры

entityType
IConventionEntityType

Тип сущности.

Возвращаемое значение

Применяется к