SecureTableOperationsTQueryRecordCountAsync(ClaimsPrincipal, CancellationToken, IRecordFilter) Method
Gets the record count for the modeled table based on search parameter.
Search executed against fields modeled with
SearchableAttribute.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.164 -- Release Build+4792d58a5dfec79a98312666bfd5a0106e818d1d
public Task<int> QueryRecordCountAsync(
ClaimsPrincipal principal,
CancellationToken cancellationToken,
params IRecordFilter?[]? recordFilter
)
Public Function QueryRecordCountAsync (
principal As ClaimsPrincipal,
cancellationToken As CancellationToken,
ParamArray recordFilter As IRecordFilter()
) As Task(Of Integer)
public:
Task<int>^ QueryRecordCountAsync(
ClaimsPrincipal^ principal,
CancellationToken cancellationToken,
... array<IRecordFilter^>^ recordFilter
)
function QueryRecordCountAsync(principal, cancellationToken, ... recordFilter);
- principal ClaimsPrincipal
- Claims principal which is making the request.
- cancellationToken CancellationToken
- Propagates notification that operations should be canceled.
- recordFilter IRecordFilter
- IRecordFilter to be filtered by
TaskInt32Record count for the modeled table based on search parameter.
This is a convenience call to [!:QueryRecordCount(RecordRestriction[])] where restriction
is generated by [!:GetSearchRestrictions(IRecordFilter[])]