TableOperationsTQueryRecordCountAsync(CancellationToken, RecordRestriction) Method
Gets the record count for the specified restrictions - or - total record
count for the modeled table if restrictions is null.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.137 -- Release Build+bf396311d630d9a0959afedb17412b40a2acb327
public Task<int> QueryRecordCountAsync(
CancellationToken cancellationToken,
params RecordRestriction?[]? restrictions
)
Public Function QueryRecordCountAsync (
cancellationToken As CancellationToken,
ParamArray restrictions As RecordRestriction()
) As Task(Of Integer)
public:
virtual Task<int>^ QueryRecordCountAsync(
CancellationToken cancellationToken,
... array<RecordRestriction^>^ restrictions
) sealed
function QueryRecordCountAsync(cancellationToken, ... restrictions);
- cancellationToken CancellationToken
- Propagates notification that operations should be canceled.
- restrictions RecordRestriction
- Record restrictions to apply, if any.
TaskInt32
Record count for the specified
restrictions - or - total record count
for the modeled table if no
RecordRestriction is provided.
ITableOperationsQueryRecordCountAsync(CancellationToken, RecordRestriction)