Best way to replace TSQLDataset with TUniQuery
Posted: Wed 12 Sep 2012 12:29
Hello,
I have begun to test UniDac in order to replace DBExpress.
I have created a tool that converts TSQLDataSet into TUniQuery in "pas" and "dfm".
In my project I use TSQLDataSet directly or TSQLDataSet+TDataSetProvider+TClientDataSet with your DBExpress driver (Firebird - SQLServr).
First solution is:
TUniQuery.Unidirectional := TRUE;
TUniQuery.SQL.Text := TSQLDataSet.CommandText;
In order to replace
TSQLDataSet.GetMetadata := false; ??
In TUniQuery+TDataSetProvider+TClientDataSet, TUniQuery (unidirectional) doesn't use buffer? (In order not to have 2 buffers that record (TUniQuery and TClientDataSet))
Main question:
What is the best way to replace TSQLDataSet?
Thank you
Alessandro Savoiardo
I have begun to test UniDac in order to replace DBExpress.
I have created a tool that converts TSQLDataSet into TUniQuery in "pas" and "dfm".
In my project I use TSQLDataSet directly or TSQLDataSet+TDataSetProvider+TClientDataSet with your DBExpress driver (Firebird - SQLServr).
First solution is:
TUniQuery.Unidirectional := TRUE;
TUniQuery.SQL.Text := TSQLDataSet.CommandText;
In order to replace
TSQLDataSet.GetMetadata := false; ??
In TUniQuery+TDataSetProvider+TClientDataSet, TUniQuery (unidirectional) doesn't use buffer? (In order not to have 2 buffers that record (TUniQuery and TClientDataSet))
Main question:
What is the best way to replace TSQLDataSet?
Thank you
Alessandro Savoiardo