From RAD Studio API Documentation
Jump to: navigation, search


property DataSet: TFDAdaptedDataSet read FDataSet write SetDataSet;


__property TFDAdaptedDataSet* DataSet = {read=FDataSet, write=SetDataSet};


Type Visibility Source Unit Parent
property public
FireDAC.Comp.Client TFDCustomUpdateObject


Identifies the dataset on which the change log update object will operate.

TFDCustomUpdateObject uses the DataSet property for two purposes:

  • It fetches the original and updated field values from this dataset when performing parameter substitution.
  • If this dataset is a TFDRdbmsDataSet descendant, it uses its Connection and ConnectionName properties to identify the connection that it uses when performing its update queries.

If you are using a single update object, the DataSet property is set automatically when you set the source dataset's UpdateObject property. If you are using multiple update objects, you must set the DataSet property at run time in an OnUpdateRecord event handler.

See Also