SecureTableOperationsTQueryRecordCount(ClaimsPrincipal, 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.164 -- Release Build+4792d58a5dfec79a98312666bfd5a0106e818d1d
public int QueryRecordCount(
ClaimsPrincipal principal,
params RecordRestriction?[]? restrictions
)
Public Function QueryRecordCount (
principal As ClaimsPrincipal,
ParamArray restrictions As RecordRestriction()
) As Integer
public:
int QueryRecordCount(
ClaimsPrincipal^ principal,
... array<RecordRestriction^>^ restrictions
)
function QueryRecordCount(principal, ... restrictions);
- principal ClaimsPrincipal
- Claims principal which is making the request.
- restrictions RecordRestriction
- Record restrictions to apply, if any.
Int32
Record count for the specified
restrictions - or - total record count
for the modeled table if no
RecordRestriction is provided.