Condividi tramite


IMutableEntityType.SetDiscriminatorProperty(IReadOnlyProperty) Metodo

Definizione

Imposta l'oggetto IReadOnlyProperty che verrà utilizzato per archiviare un valore discriminatorio.

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

Parametri

property
IReadOnlyProperty

Proprietà da impostare.

Si applica a