DbContextInfo.OnModelCreating Property
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.
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)