Share via


HistoryContext.OnModelCreating(DbModelBuilder) Method

Definition

Applies the default configuration for the migrations history table. If you override this method it is recommended that you call this base implementation before applying your custom configuration.

protected override void OnModelCreating (System.Data.Entity.DbModelBuilder modelBuilder);
override this.OnModelCreating : System.Data.Entity.DbModelBuilder -> unit
Protected Overrides Sub OnModelCreating (modelBuilder As DbModelBuilder)

Parameters

modelBuilder
DbModelBuilder

The builder that defines the model for the context being created.

Applies to