Table of Contents

TCustomAureliusDataset Class

Base class for Aurelius dataset components that integrates the ORM mapping layer with the standard TDataset interface.

Remarks

Extends Aurelius.Bind.BaseDataset.TBaseAureliusDataset with ORM-aware field definitions derived from entity mapping metadata, object persistence via TObjectManager, and support for sub-property fields using dot notation. The published component class is TAureliusDataset.

Syntax

Unit: Aurelius.Bind.Dataset

TCustomAureliusDataset = class(TBaseAureliusDataset);

Constructors

Name Description
Create Creates a new dataset instance and sets default property values.

Methods

Name Description
SetSourceCriteria Overloaded
SetSourceCriteria(TCriteria)
SetSourceCriteria(TCriteria, Integer)
SetSourceCursor Sets an open database cursor as the source of data for this dataset, enabling record-by-record fetch-on-demand.

Properties

Name Description
FieldInclusions Gets or sets which categories of object properties are automatically exposed as dataset fields when no persistent fields are defined.
ForceWideTypes Gets or sets whether ANSI string and memo field types are promoted to their wide (Unicode) equivalents.
Manager Gets or sets the TObjectManager used to persist entity changes to the database.
ParentManager Gets or sets whether this dataset inherits its Manager from the parent dataset when used as a detail in a master-detail relationship.