EntityDAC

TEntityDataSet.SourceObject Property

Sets a single entity as the dataset source.

Class

TEntityDataSet

Syntax

property SourceObject: TObject;

Remarks

The property is designed to set a single entity as the dataset source. The property is useful when attribute-mapped objects are used, and the entity is a trivial class instance. When the entity is TEntity descendant, the SourceEntity method can be used. To set an entity collection as the dataset source, the SourceCollection method is used.

See Also

© 1997-2017 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback