ITotalCountProvider Interface
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.
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. |