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.158 -- Release Build+a7370acff9f7a1e0ca1927f709880b2a82e0bdf0
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. |