TAureliusManager.Evict Method
Detaches an entity from the manager without deleting it from the database or destroying the instance.
Remarks
After eviction the object becomes transient and is no longer tracked by the manager. You are responsible for destroying it unless you attach it to another manager. Associated objects with TCascadeType.Evict defined are also evicted.
Syntax
Unit: Aurelius.Comp.Manager
procedure TAureliusManager.Evict(Entity: TObject);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Entity | TObject | The entity to evict. If it is not attached, no operation is performed. |