Table of Contents

IBlobController Interface

Controls the lazy-loading of blob content from the database.

Remarks

IBlobController is implemented internally by Aurelius and attached to a TBlob value when the blob column is configured for lazy-loading (using TColumnProp.Lazy). When the blob data is first accessed, TBlob calls ReadBlob to retrieve the binary content from the database, then calls AfterLoad to allow any post-load housekeeping.

Syntax

Unit: Aurelius.Types.Blob

IBlobController = interface(IInterface);

Methods

Name Description
AfterLoad Called by TBlob immediately after the blob content has been successfully loaded from the database.
BlobInfo Returns metadata that identifies the entity and member associated with this blob controller.
ReadBlob Reads and returns the raw binary content of the blob from the database.