TObjectManager.Save Method
Saves (inserts) a new entity into the database.
Remarks
The entity must not already be persistent in this manager (i.e., it must not have an identifier value unless the identifier generator is TIdGenerator.None).
After a successful call, Entity becomes persistent and is tracked by the manager.
Cascade options on associations determine whether related objects are also saved.
Syntax
Unit: Aurelius.Engine.ObjectManager
procedure TObjectManager.Save(Entity: TObject);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Entity | TObject | The transient entity object to save. |