次の方法で共有


OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity>.ExcludeFromMigrations メソッド

定義

移行によって無視されるようにテーブルを構成します。

public virtual Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<TOwnerEntity,TDependentEntity> ExcludeFromMigrations (bool excluded = true);
override this.ExcludeFromMigrations : bool -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationSplitTableBuilder<'OwnerEntity, 'DependentEntity (requires 'OwnerEntity : null and 'DependentEntity : null)>
Public Overridable Function ExcludeFromMigrations (Optional excluded As Boolean = true) As OwnedNavigationSplitTableBuilder(Of TOwnerEntity, TDependentEntity)

パラメーター

excluded
Boolean

テーブルを移行によって管理する必要があるかどうかを示す値。

戻り値

複数の呼び出しをチェーンできるように、同じビルダー インスタンス。

注釈

詳細については、「 データベースの移行 」を参照してください。

適用対象