EntityDAC

TCustomEntityContext Class

The base class that provides the data context functionality.

For a list of all members of this type, see TCustomEntityContext members.

Unit

EntityDAC.EntityContext

Syntax

TCustomEntityContext = class(TDataContext);

Remarks

TCustomEntityContext class provides functionality for managing an entity life cycle in the application. It provides methods for creating and initializing new entity instances, retrieving and storing entities from/to the database, storing used entities in the cache for future use, destroying of unused entities.

Since TCustomEntityContext is the base class, it should not be used directly. Instead, TCustomEntityContext descendants such as TEntityContext have to be used.

Inheritance Hierarchy

TCustomContext
   TDataContext
      TCustomEntityContext

See Also

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