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)
Property Value
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework