RAD Studio VCL Reference
|
TDataContext stores temporary information about a set of objects, Variants, and other related values.
TDataContext = class;
class TDataContext;
TDataContext is a repository for information that belongs together. It introduces a number of methods for storing different types of information, including objects, Variants, pointers, and raw data (untyped bytes). When the TDataContext object is freed, it performs all necessary cleanup of the information it stores, freeing the objects, clearing the Variants, and so on.
Do not use TDataContext directly. It is intended as a base class for classes that need a temporary repository that serves a specific purpose. TDataContext does not allocate the internal dynamic arrays that store pointers and raw data: This task is left to descendant classes, such as TInvContext.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|