Share via


ODataRouteBuilderExtensions.Expand Method

Definition

Overloads

Expand(IRouteBuilder)

Sets the EnableExpand to true of DefaultQuerySettings in route builder.

Expand(IRouteBuilder, QueryOptionSetting)

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

Expand(IRouteBuilder)

Sets the EnableExpand to true of DefaultQuerySettings in route builder.

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

Parameters

builder
IRouteBuilder

Returns

Applies to

Expand(IRouteBuilder, QueryOptionSetting)

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

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

Parameters

builder
IRouteBuilder

Returns

Applies to