HistoryContext.OnModelCreating Method (DbModelBuilder)

 

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.

Namespace:   System.Data.Entity.Migrations.History
Assembly:  EntityFramework (in EntityFramework.dll)

protected override void OnModelCreating(
	DbModelBuilder modelBuilder
)

Parameters

modelBuilder
Type: System.Data.Entity.DbModelBuilder

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