Table of Contents

TObjectSource Class

Abstract base class for objects that supply entity records to a TBaseAureliusDataset on demand.

Remarks

Concrete subclasses implement specific fetch strategies. When a paged criteria query is used the dataset creates a TCriteriaSource; when an open cursor is used it creates a TCursorSource. The dataset calls FetchMore repeatedly until Fetching returns False.

Syntax

Unit: Aurelius.Bind.BaseDataset

TObjectSource = class(TObject);

Methods

Name Description
CanRetrieveRecord​Count Indicates whether this source can report the total record count without fetching all records.
Fetching Indicates whether this source still has records available to fetch.
FetchMore Fetches the next batch of objects and appends them to the supplied list.
ObjectClass Returns the class of entity objects produced by this source.
RetrieveRecordCount Retrieves the total number of records available from this source.