Share via


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);

Parameters

builder
IRouteBuilder

Returns

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);

Parameters

builder
IRouteBuilder

Returns

Applies to