FireDAC.Comp.DataSet.TFDDataSet.Post
Delphi
procedure Post; override;
C++
virtual void __fastcall Post();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Comp.DataSet.pas FireDAC.Comp.DataSet.hpp |
FireDAC.Comp.DataSet | TFDDataSet |
Description
Implements a virtual method to write a modified record to the database or change log.
FireDAC.Comp.DataSet.TFDDataSet.Post inherits from Data.DB.TDataSet.Post. All content below this line refers to Data.DB.TDataSet.Post.
Implements a virtual method to write a modified record to the database or change log.
TDataSet implements a virtual method to write a modified record to the database or change log. Dataset methods that change the dataset state, such as Edit, Insert, or Append, or that move from one record to another, such as First, Last, Next, and Prior automatically call Post.
Different types of datasets handle posting differently:
ADO and InterBaseExpress datasets post records directly to the database server.
Client datasets post records to an internal change log until they are applied to the database by calling ApplyUpdates or merged with the client dataset's data by calling MergeChangeLog.
Unidirectional datasets are read-only and do not post records at all.
Designers of custom datasets can choose whether to implement Post by writing records to the database server or to an internal change log.
See Also