About the TADCommand and TADTableAdapter components, what are they, what are they for?

1

In the component suite purchased by Embarcadero for Delphi , FireDAC , there are two components you would like to know about them. They are the TADCommand and TADTableAdapter .

What are they, what are these components for, and could you cite an example?

    
asked by anonymous 10.05.2014 / 02:21

1 answer

2
The TADCommand is a component responsible for executing commands in the database, it can not be used to provide content for DBWare components because it is not a dataset, its operation is similar to a TSQLQuery of the DBExpress palette.

The TADTableAdapter is what makes the communication between TADCommand and TADMemTable which is a DataSet itself, that is, it does more or less the same as TDataSetProvider while TADMemTable is very similar to TClientDataSet

An example use is to have an object TADCommand Linked to a TADTableAdapter which in turn is bound to a TADMemTable . Set up a query in Command and open the memtable.

To simplify the use of this set of components, you can use TADQuery which has the functionality of the 3 components.

    
10.05.2014 / 06:12