About the Tadcommand and Tadtableadapter components, what are they, what are they for?

Asked

Viewed 308 times

1

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

What are, what are these components for and could I quote an example?

1 answer

2


The TADCommand is a component responsible for executing commands in the database, it cannot be used to provide content to 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 the TADCommand and the TADMemTable which is a Dataset itself, that is, it does more or less the same as the TDataSetProvider as long as the TADMemTable is very similar to TClientDataSet

An example of use is to have an object TADCommand Tied to a TADTableAdapter which in turn is linked to a TADMemTable.
Set up a query in Command and open it in memtable.

To simplify the use, this set of components, you can use Tadquery that has the functionalities of the 3 components.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.