ODataRouteBuilderExtensions.OrderBy Method

Definition

Overloads

OrderBy(IRouteBuilder)

Sets the EnableOrderBy to true of DefaultQuerySettings in route builder.

OrderBy(IRouteBuilder, QueryOptionSetting)

Sets the EnableOrderBy of DefaultQuerySettings in route builder, depends on QueryOptionSetting.

OrderBy(IRouteBuilder)

Sets the EnableOrderBy to true of DefaultQuerySettings in route builder.

public static Microsoft.AspNetCore.Routing.IRouteBuilder OrderBy (this Microsoft.AspNetCore.Routing.IRouteBuilder builder);
static member OrderBy : Microsoft.AspNetCore.Routing.IRouteBuilder -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function OrderBy (builder As IRouteBuilder) As IRouteBuilder

Parameters

builder
IRouteBuilder

Returns

IRouteBuilder

Applies to

OrderBy(IRouteBuilder, QueryOptionSetting)

Sets the EnableOrderBy of DefaultQuerySettings in route builder, depends on QueryOptionSetting.

public static Microsoft.AspNetCore.Routing.IRouteBuilder OrderBy (this Microsoft.AspNetCore.Routing.IRouteBuilder builder, Microsoft.AspNet.OData.Query.QueryOptionSetting setting);
static member OrderBy : Microsoft.AspNetCore.Routing.IRouteBuilder * Microsoft.AspNet.OData.Query.QueryOptionSetting -> Microsoft.AspNetCore.Routing.IRouteBuilder
<Extension()>
Public Function OrderBy (builder As IRouteBuilder, setting As QueryOptionSetting) As IRouteBuilder

Parameters

builder
IRouteBuilder

Returns

IRouteBuilder

Applies to