Share via


ITotalCountProvider Interface

Definition

Caution

Use IQueryResultEnumerable interface

The ITotalCountProvider interface provides the total count for all the records that would have been returned ignoring any take paging/limit clause specified by client or server. If you call query.RequestTotalCount(), you can cast the result (whether its a sequence or a list) to ITotalCountProvider.

[System.Obsolete("Use IQueryResultEnumerable interface")]
public interface ITotalCountProvider
[<System.Obsolete("Use IQueryResultEnumerable interface")>]
type ITotalCountProvider = interface
Public Interface ITotalCountProvider
Derived
Attributes

Properties

TotalCount

Gets the total count for all the records that would have been returned ignoring any take paging/limit clause specified by client or server.

Applies to