ODataConventionModelBuilder.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.
This action is invoked after the ODataConventionModelBuilder has run all the conventions, but before the configuration is locked down and used to build the IEdmModel.
public Action<Microsoft.AspNet.OData.Builder.ODataConventionModelBuilder> OnModelCreating { get; set; }
member this.OnModelCreating : Action<Microsoft.AspNet.OData.Builder.ODataConventionModelBuilder> with get, set
Public Property OnModelCreating As Action(Of ODataConventionModelBuilder)
Property Value
Remarks
Use this action to modify the ODataModelBuilder configuration that has been inferred by convention.