IConventionEntityType.SetDiscriminatorMappingComplete 方法

定義

設定值,指出辨別子對應是否完成。

public virtual bool? SetDiscriminatorMappingComplete (bool? complete, bool fromDataAnnotation = false);
abstract member SetDiscriminatorMappingComplete : Nullable<bool> * bool -> Nullable<bool>
override this.SetDiscriminatorMappingComplete : Nullable<bool> * bool -> Nullable<bool>
Public Overridable Function SetDiscriminatorMappingComplete (complete As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

參數

complete
Nullable<Boolean>

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

fromDataAnnotation
Boolean

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

傳回

已設定的值。

適用於