HistoryRepository.ConfigureTable(EntityTypeBuilder<HistoryRow>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Configures the entity type mapped to the history table.
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))
Parameters
- history
- EntityTypeBuilder<HistoryRow>
A builder for the HistoryRow entity type.
Remarks
Database providers can override this to add or replace configuration.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework