IProxyController Interface
Controls the deferred loading of a proxied entity or collection.
Remarks
Aurelius sets a controller on a Proxy<T> field when it loads an owning entity.
When Proxy<T>.Value is first accessed, the proxy calls LoadProxyValue to retrieve the associated object from the database, then calls AfterLoad to signal that the load has completed.
Syntax
Unit: Aurelius.Types.Proxy
IProxyController = interface(IInterface);
Methods
| Name | Description |
|---|---|
| AfterLoad | Called by the proxy immediately after a successful load to perform any post-load housekeeping. |
| LoadProxyValue | Loads and returns the proxied object from the database. |
| ProxyInfo | Returns the metadata that describes the association this controller manages. |