Share via


DbContextInfo.OnModelCreating Property

Definition

An action to be run on the DbModelBuilder after OnModelCreating has been run on the context.

public virtual Action<System.Data.Entity.DbModelBuilder> OnModelCreating { get; set; }
member this.OnModelCreating : Action<System.Data.Entity.DbModelBuilder> with get, set
Public Overridable Property OnModelCreating As Action(Of DbModelBuilder)

Property Value

Applies to