SecureTableOperationsTQueryRecordCount(ClaimsPrincipal, IRecordFilter) Method

Gets the record count for the modeled table based on search parameter. Search executed against fields modeled with SearchableAttribute.

Definition

Namespace: Gemstone.Data.Model
Assembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.164 -- Release Build+4792d58a5dfec79a98312666bfd5a0106e818d1d
public int QueryRecordCount(
	ClaimsPrincipal principal,
	params IRecordFilter?[]? recordFilter
)

Parameters

principal  ClaimsPrincipal
Claims principal which is making the request.
recordFilter  IRecordFilter
IRecordFilter to be filtered by

Return Value

Int32
Record count for the modeled table based on search parameter.

Remarks

This is a convenience call to [!:QueryRecordCount(RecordRestriction[])] where restriction is generated by [!:GetSearchRestrictions(IRecordFilter[])]

See Also