API:Vcl.DBActns.TDataSetPost
Delphi
TDataSetPost = class(TDataSetAction)
C++
class PASCALIMPLEMENTATION TDataSetPost : public TDataSetAction
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Vcl.DBActns.pas Vcl.DBActns.hpp |
Vcl.DBActns | Vcl.DBActns |
Description
TDataSetAction is the base class for action objects that act on dataset components.
Vcl.DBActns.TDataSetPost inherits from Vcl.DBActns.TDataSetAction. All content below this line refers to Vcl.DBActns.TDataSetAction.
TDataSetAction is the base class for action objects that act on dataset components.
TDataSetAction implements the common behavior for actions that work with datasets. Each descendant class performs a specific database function. Do not use TDataSetAction directly in an application. Instead, use a TDataSetAction descendant such as TDataSetCancel, TDataSetDelete, TDataSetEdit, TDataSetFirst, TDataSetInsert, TDataSetLast, TDataSetNext, TDataSetPost, TDataSetPrior, or TDataSetRefresh.
TDataSetAction ensures that the action is only enabled to work with a TDataSource component as its target. This TDataSource is first located as the data source that connects an active data-aware control to its source dataset. TDataSetAction saves this data source as the DataSource property, which descendants then use to perform their specific database functions.