Share via


ODataRouteBuilderExtensions.Select Method

Definition

Overloads

Select(IRouteBuilder)

Sets the EnableSelect to true of DefaultQuerySettings in route builder.

Select(IRouteBuilder, QueryOptionSetting)

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

Select(IRouteBuilder)

Sets the EnableSelect to true of DefaultQuerySettings in route builder.

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

Parameters

builder
IRouteBuilder

Returns

Applies to

Select(IRouteBuilder, QueryOptionSetting)

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

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

Parameters

builder
IRouteBuilder

Returns

Applies to