ODataRouteBuilderExtensions.Count Method

Definition

Overloads

Count(IRouteBuilder)

Sets the EnableCount to true of DefaultQuerySettings in route builder.

Count(IRouteBuilder, QueryOptionSetting)

Sets the EnableCount of DefaultQuerySettings in route builder, depends on QueryOptionSetting.

Count(IRouteBuilder)

Sets the EnableCount to true of DefaultQuerySettings in route builder.

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

Parameters

builder
IRouteBuilder

Returns

IRouteBuilder

Applies to

Count(IRouteBuilder, QueryOptionSetting)

Sets the EnableCount of DefaultQuerySettings in route builder, depends on QueryOptionSetting.

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

Parameters

builder
IRouteBuilder

Returns

IRouteBuilder

Applies to