Share via


HttpConfigurationExtensions.Select Method

Definition

Overloads

Select(HttpConfiguration)

Sets the EnableSelect to true of DefaultQuerySettings in the configuration.

Select(HttpConfiguration, QueryOptionSetting)

Sets the SelectType of DefaultQuerySettings in the configuration, depends on QueryOptionSetting. Todo: change QueryOptionSetting to SelectExpandType.

Select(HttpConfiguration)

Sets the EnableSelect to true of DefaultQuerySettings in the configuration.

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

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to

Select(HttpConfiguration, QueryOptionSetting)

Sets the SelectType of DefaultQuerySettings in the configuration, depends on QueryOptionSetting. Todo: change QueryOptionSetting to SelectExpandType.

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

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to