HistoryRepository.ConfigureTable(EntityTypeBuilder<HistoryRow>) 方法

定义

配置映射到历史记录表的实体类型。

protected virtual void ConfigureTable (Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<Microsoft.EntityFrameworkCore.Migrations.HistoryRow> history);
abstract member ConfigureTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<Microsoft.EntityFrameworkCore.Migrations.HistoryRow> -> unit
override this.ConfigureTable : Microsoft.EntityFrameworkCore.Metadata.Builders.EntityTypeBuilder<Microsoft.EntityFrameworkCore.Migrations.HistoryRow> -> unit
Protected Overridable Sub ConfigureTable (history As EntityTypeBuilder(Of HistoryRow))

参数

history
EntityTypeBuilder<HistoryRow>

实体类型的生成器 HistoryRow

注解

数据库提供程序可以重写此项以添加或替换配置。

适用于