Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HistoryContext::OnModelCreating Method (DbModelBuilder^)

Entity Framework 6.0
 

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:
virtual void OnModelCreating(
	DbModelBuilder^ modelBuilder
) override

Parameters

modelBuilder
Type: System.Data.Entity::DbModelBuilder^

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

Return to top
Show: