Note: This API is now obsolete.
Deletes current record.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax[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)
RemarksThe method assumes that the primary key is the first column in the DataRow.
See Also