10
In Delphi, following the line of components TTable and TQuery in the component palette BDE we also have similar components in the palette dbExpress which are the TSQLQuery and the TSQLTable, and we still have the components TSQLDataSet and the TSQLSimpleDataSet.
I see for example that the TSQLSimpleDataSet incorporates properties and methods such as those of a ClientDataSet, the CreateDataSet, the Data and the Delta, as an example.
Surely such components exist because a specific purpose exists for each of them and they cannot all simply have the same purpose.
I believe that this is a basic foundation but of great importance for Delphi programmers
Then:
What is the difference between these components? A practical application would be interesting!
To be clear, I am asking about each component mentioned. Not by the palette BDE or the dbExpress.
But you can tell if it exists YET specific cases for which each of them are most rexomended? + 1 for the good answer. Thank you!
– user3628
@Thiagopsilva I do not know if there is a case of more recommended, I believe that, according to what they do, they adapt better to what the programmer wants to do but the
TSimpleDataSetis most commonly used in client/server applications without datamodules and while theTSQLQuery/TSQLDataSetis maintained in the Datamodule so that multiple screens use it by connecting their providers or clientdatasets and theTTablewhen you want to list all the contents of the table– Caputo