Partilhar via


xRecord.skipDeleteActions Method

Definition

Overloads

skipDeleteActions(Boolean)
skipDeleteActions()

Gets and sets the property that indicates whether to skip delete actions on the table.

skipDeleteActions(Boolean)

public:
 virtual bool skipDeleteActions(bool _newValue);
public virtual bool skipDeleteActions (bool _newValue);
abstract member skipDeleteActions : bool -> bool
override this.skipDeleteActions : bool -> bool
Public Overridable Function skipDeleteActions (_newValue As Boolean) As Boolean

Parameters

_newValue
Boolean

A Boolean value that indicates whether to ignore requests to delete records; optional.

Returns

Applies to

skipDeleteActions()

Gets and sets the property that indicates whether to skip delete actions on the table.

public:
 virtual bool skipDeleteActions();
public virtual bool skipDeleteActions ();
abstract member skipDeleteActions : unit -> bool
override this.skipDeleteActions : unit -> bool
Public Overridable Function skipDeleteActions () As Boolean

Returns

true if requests to delete records should be ignored; otherwise, false.

Remarks

This method works only when you are using a set-based operation, such as the delete_from statement. If you use it on a row-based operation, such as the xRecord.delete method, the property will not be respected, and the delete action will still be called.

Applies to