EntityDAC

TEntity.Destroy Destructor

The destructor is designed for destroying an entity instance.

Class

TEntity

Syntax

destructor Destroy; override;

Remarks

The method destroys an entity instance. The method can be used only for those entities which are not attached to the data context using the TCustomEntityContext.Attach method. Once the entity is attached, it is managed by the data context and should not be destroyed manually.

See Also

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