ITableOperationsDeleteRecord(RecordRestriction, 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
int DeleteRecord(
RecordRestriction? restriction,
bool? applyRootQueryRestriction = null
)
Function DeleteRecord (
restriction As RecordRestriction,
Optional applyRootQueryRestriction As Boolean? = Nothing
) As Integer
int DeleteRecord(
RecordRestriction^ restriction,
Nullable<bool> applyRootQueryRestriction = nullptr
)
function DeleteRecord(restriction, applyRootQueryRestriction);
- restriction RecordRestriction
- Record restriction to apply
- applyRootQueryRestriction NullableBoolean (Optional)
-
Flag that determines if any existing RootQueryRestriction should be applied. Defaults to
ApplyRootQueryRestrictionToDeletes setting.
Int32Number of rows affected.
| ArgumentNullException | restriction cannot be null. |