Click or drag to resize
IDataClassDelete Method

Note: This API is now obsolete.

Deletes current record.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use CMS.Core.Service.Resolve<CMS.DataEngine.IDataClassDataStore>().Delete(CMS.DataEngine.IDataClass) instead.")]
void Delete(
	bool preserveData = false
)

Parameters

preserveData (Optional)
Type: SystemBoolean
If true, object data are preserved (it is possible to manipulate with the object further)
Remarks
The method assumes that the primary key is the first column in the DataRow.
See Also