Table of Contents

Proxy<T>.SetInitialValue Method

Sets the initial value of the proxy without marking it as loaded.

Remarks

Use this method in the constructor of the owning entity to provide an empty list for a lazy many-valued association. The proxy remains in the unloaded state so that Aurelius can replace the list with the database-backed collection on first access.

Syntax

Unit: Aurelius.Types.Proxy

procedure Proxy<T>.SetInitialValue(AValue: T);

Parameters

<-> Parameter Type Description
AValue T The initial object to store, typically a newly created list instance.

See also