Share via


HttpConfigurationExtensions.OrderBy Method

Definition

Overloads

OrderBy(HttpConfiguration)

Sets the EnableOrderBy to true of DefaultQuerySettings in the configuration.

OrderBy(HttpConfiguration, QueryOptionSetting)

Sets the EnableOrderBy of DefaultQuerySettings in the configuration, depends on QueryOptionSetting.

OrderBy(HttpConfiguration)

Sets the EnableOrderBy to true of DefaultQuerySettings in the configuration.

public static System.Web.Http.HttpConfiguration OrderBy (this System.Web.Http.HttpConfiguration configuration);
static member OrderBy : System.Web.Http.HttpConfiguration -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function OrderBy (configuration As HttpConfiguration) As HttpConfiguration

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to

OrderBy(HttpConfiguration, QueryOptionSetting)

Sets the EnableOrderBy of DefaultQuerySettings in the configuration, depends on QueryOptionSetting.

public static System.Web.Http.HttpConfiguration OrderBy (this System.Web.Http.HttpConfiguration configuration, Microsoft.AspNet.OData.Query.QueryOptionSetting setting);
static member OrderBy : System.Web.Http.HttpConfiguration * Microsoft.AspNet.OData.Query.QueryOptionSetting -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function OrderBy (configuration As HttpConfiguration, setting As QueryOptionSetting) As HttpConfiguration

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to