ODataRouteBuilderExtensions.SetDefaultODataOptions Method
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.
Sets the DefaultQuerySettings in route builder.
public static Microsoft.AspNetCore.Routing.IRouteBuilder SetDefaultODataOptions (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, Microsoft.AspNet.OData.ODataOptions defaultOptions);
static member SetDefaultODataOptions : Microsoft.AspNetCore.Routing.IRouteBuilder * Microsoft.AspNet.OData.ODataOptions -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function SetDefaultODataOptions (builder As IRouteBuilder, defaultOptions As ODataOptions) As IRouteBuilder
Parameters
- builder
- IRouteBuilder
The IRouteBuilder.
- defaultOptions
- ODataOptions
The default options.