IMutableEntityType.SetDiscriminatorProperty(IReadOnlyProperty) Method

Definition

Sets the IReadOnlyProperty that will be used for storing a discriminator value.

public void SetDiscriminatorProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty? property);
abstract member SetDiscriminatorProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> unit
Public Sub SetDiscriminatorProperty (property As IReadOnlyProperty)

Parameters

property
IReadOnlyProperty

The property to set.

Applies to