MutableEntityTypeExtensions.GetDiscriminatorProperty Method

Definition

Returns the IMutableProperty that will be used for storing a discriminator value.

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

Parameters

entityType
IMutableEntityType

The entity type.

Returns

Applies to