IMutableEntityType.SetDiscriminatorProperty(IReadOnlyProperty) Methode

Definition

Legt den fest, der IReadOnlyProperty zum Speichern eines Diskriminatorswerts verwendet wird.

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

Parameter

property
IReadOnlyProperty

Die festzulegende Eigenschaft.

Gilt für: