Page 1 of 1

Migration from ADODB: Connection.State (TObjectState) equivalent available?

Posted: Fri 21 Feb 2014 12:47
by Krampus
hello,
I´m in the process of evaluating UniDac as replacement for ADODB
and I can´t find any equivalent to "TADOConnection.State"
ADODB.TObjectState = (stClosed, stOpen, stConnecting, stExecuting, stFetching);

- is there any equivalent to that in TUniConnection?

The Migration Wizard did a nice job on the forms,
but it seems I need to change a lot of source code... :shock:

- Is there any infomation collection available to speed up the migration,
like a replacement table ADODB -> UniDac properties/methods/...
(eg. ADOConn.ConnectionString -> UniConn.ConnectString (that one was easy :mrgreen: , ...)

thanks,
h

Re: Migration from ADODB: Connection.State (TObjectState) equivalent available?

Posted: Tue 25 Feb 2014 08:54
by AlexP
Hello,

UniDAC has no property similar to State in ADO. We will consider the possibility to add such functionality. We plan to add the RowsAffected property to UniConnection in one of the next versions. MigrationWizard changes ADO classes to UniDAC classes, as well as matching basic properties of both products. Properties present in ADO and absent in UniDAC must be modified manually.