EntityDAC

TCustomEntityContext.DeleteAndSave

The method is designed for permanent deleting an entity.

Unit

Syntax

Remarks

The method deletes the specified entity. The performed deletion is irreversible. When the method is performed, references to the entity are deleted from linked entities, the entity is deleted from collections of linked entities, physical deletion of data from corresponding database structures occurs as well. The method execution is equivalent to consequent execution of the methods: TCustomEntityContext.Delete, TCustomEntityContext.Save

See Also

© 1997-2024 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback