Show / Hide Table of Contents

Method CountAsync

| Improve this Doc View Source

CountAsync()

Gets the total number of records of this database recordset.

Declaration
public Task<int> CountAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Int32>

The total number of records of this database recordset.

| Improve this Doc View Source

CountAsync(CancellationToken)

Gets the total number of records of this database recordset.

Declaration
public virtual Task<int> CountAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

The async cancellation token.

Returns
Type Description
System.Threading.Tasks.Task<System.Int32>

The total number of records of this database recordset.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest