Share via


ODataConventionModelBuilder.OnModelCreating Property

Definition

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.

Applies to