SecureTableOperationsTDeleteRecord(ClaimsPrincipal, RecordRestriction, NullableBoolean) Method
Deletes the records referenced by the specified restriction.
Namespace: Gemstone.Data.ModelAssembly: Gemstone.Data (in Gemstone.Data.dll) Version: 1.0.164 -- Release Build+4792d58a5dfec79a98312666bfd5a0106e818d1d
public int DeleteRecord(
ClaimsPrincipal principal,
RecordRestriction? restriction,
bool? applyRootQueryRestriction = null
)
Public Function DeleteRecord (
principal As ClaimsPrincipal,
restriction As RecordRestriction,
Optional applyRootQueryRestriction As Boolean? = Nothing
) As Integer
public:
int DeleteRecord(
ClaimsPrincipal^ principal,
RecordRestriction^ restriction,
Nullable<bool> applyRootQueryRestriction = nullptr
)
function DeleteRecord(principal, restriction, applyRootQueryRestriction);
- principal ClaimsPrincipal
- Claims principal which is making the request.
- 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. |