共用方式為


OwnedNavigationTableBuilder.ExcludeFromMigrations(Boolean) 方法

定義

設定移轉要忽略的資料表。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder ExcludeFromMigrations (bool excluded = true);
abstract member ExcludeFromMigrations : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder
override this.ExcludeFromMigrations : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationTableBuilder
Public Overridable Function ExcludeFromMigrations (Optional excluded As Boolean = true) As OwnedNavigationTableBuilder

參數

excluded
Boolean

值,指出資料表是否應該由移轉管理。

傳回

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

備註

如需詳細資訊 ,請參閱資料庫移轉

適用於