OwnedNavigationSplitTableBuilder.ExcludeFromMigrations(Boolean) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定表格以被遷移忽略。
public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder ExcludeFromMigrations(bool excluded = true);
abstract member ExcludeFromMigrations : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder
override this.ExcludeFromMigrations : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder
Public Overridable Function ExcludeFromMigrations (Optional excluded As Boolean = true) As OwnedNavigationSplitTableBuilder
參數
- excluded
- Boolean
一個表示該資料表是否應該由遷移管理的值。
傳回
同一個建構實例,這樣可以串接多個呼叫。
備註
更多資訊請參閱 資料庫遷移 。