ITableOperationsQueryRecordCountAsync(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.138 -- Release Build+f7ceb3e02ea3c92b27e86b99ae16cee337a20b9e
Task<int> QueryRecordCountAsync(
CancellationToken cancellationToken,
params RecordRestriction?[]? restrictions
)
Function QueryRecordCountAsync (
cancellationToken As CancellationToken,
ParamArray restrictions As RecordRestriction()
) As Task(Of Integer)
Task<int>^ QueryRecordCountAsync(
CancellationToken cancellationToken,
... array<RecordRestriction^>^ restrictions
)
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.