Click or drag to resize
SimpleDataClassDelete Method (Boolean)
Deletes current record.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public virtual void Delete(
	bool preserveData
)

Parameters

preserveData
Type: SystemBoolean
If true, object data are preserved (it os possible to manipulate with the object further)

Implements

IDataClassDelete(Boolean)
Remarks
The method assumes that the primary key is the first column in the DataRow.
See Also