SplitTableBuilder.ExcludeFromMigrations(Boolean) 方法

定义

将表配置为由迁移忽略。

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

参数

excluded
Boolean

一个值,该值指示表是否应由迁移管理。

返回

同一生成器实例,以便可以链接多个调用。

注解

有关详细信息和示例 ,请参阅数据库迁移

适用于