Share via


IConventionEntityTypeMappingFragment.SetIsTableExcludedFromMigrations 方法

定義

設定值,指出移轉是否忽略相關聯的資料表。

public bool? SetIsTableExcludedFromMigrations (bool? excluded, bool fromDataAnnotation = false);
abstract member SetIsTableExcludedFromMigrations : Nullable<bool> * bool -> Nullable<bool>
Public Function SetIsTableExcludedFromMigrations (excluded As Nullable(Of Boolean), Optional fromDataAnnotation As Boolean = false) As Nullable(Of Boolean)

參數

excluded
Nullable<Boolean>

值,指出移轉是否忽略相關聯的資料表。

fromDataAnnotation
Boolean

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

傳回

適用於