共用方式為


IConventionDiscriminatorBuilder.IsComplete(Boolean, Boolean) 方法

定義

設定辨別子對應是否完成。

public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDiscriminatorBuilder IsComplete (bool complete, bool fromDataAnnotation = false);
public Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDiscriminatorBuilder? IsComplete (bool complete, bool fromDataAnnotation = false);
abstract member IsComplete : bool * bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionDiscriminatorBuilder
Public Function IsComplete (complete As Boolean, Optional fromDataAnnotation As Boolean = false) As IConventionDiscriminatorBuilder

參數

complete
Boolean

值,指出這個辨別子對應是否完成。

fromDataAnnotation
Boolean

指出是否已使用資料批註指定組態。

傳回

相同的產生器,以便鏈結多個呼叫。

適用於