ITableOperationsDeleteRecordAsync(RecordRestriction, CancellationToken, NullableBoolean) Method
Deletes the records referenced by the specified restriction.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.138 -- Release Build+f7ceb3e02ea3c92b27e86b99ae16cee337a20b9e
Task<int> DeleteRecordAsync(
RecordRestriction? restriction,
CancellationToken cancellationToken,
bool? applyRootQueryRestriction = null
)
Function DeleteRecordAsync (
restriction As RecordRestriction,
cancellationToken As CancellationToken,
Optional applyRootQueryRestriction As Boolean? = Nothing
) As Task(Of Integer)
Task<int>^ DeleteRecordAsync(
RecordRestriction^ restriction,
CancellationToken cancellationToken,
Nullable<bool> applyRootQueryRestriction = nullptr
)
function DeleteRecordAsync(restriction, cancellationToken, applyRootQueryRestriction);
- restriction RecordRestriction
- Record restriction to apply
- cancellationToken CancellationToken
- Propagates notification that operations should be canceled.
- applyRootQueryRestriction NullableBoolean (Optional)
-
Flag that determines if any existing RootQueryRestriction should be applied. Defaults to
ApplyRootQueryRestrictionToDeletes setting.
TaskInt32Number of rows affected.
ArgumentNullException | restriction cannot be null. |