ODataRouteBuilderExtensions.Count Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
- setting
- QueryOptionSetting