IMutableEntityType.SetDiscriminatorProperty(IReadOnlyProperty) 方法

定義

IReadOnlyProperty設定將用於儲存鑒別子值的 。

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

參數

property
IReadOnlyProperty

要設定的屬性。

適用於