Table of Contents

TAureliusManager.Flush Method

Overloads

TAureliusManager.Flush

Persists all pending changes for every managed entity to the database.

Remarks

The manager tracks which properties have changed since each entity was loaded. Only changed fields are written to the database. Call this method after modifying one or more managed entities to commit the changes.

Syntax

Unit: Aurelius.Comp.Manager

procedure TAureliusManager.Flush; overload;

See also

TAureliusManager.Flush(TObject)

Persists pending changes for a single managed entity to the database.

Remarks

Only changes to the specified entity are written to the database; changes to other managed entities remain pending. Associated objects may also be flushed depending on cascade settings (TCascadeType.Flush).

Syntax

Unit: Aurelius.Comp.Manager

procedure TAureliusManager.Flush(Entity: TObject); overload;

Parameters

<-> Parameter Type Description
Entity TObject The managed entity whose changes should be flushed.

See also