共用方式為


EntityContext.OnModelCreating(DbModelBuilder) Method

Definition

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

Applies to