HistoryContext.OnModelCreating(DbModelBuilder) 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.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework