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

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Krampus
Posts: 3
Joined: Fri 21 Feb 2014 12:23

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

Post by Krampus » Fri 21 Feb 2014 12:47

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

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

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

Post by AlexP » Tue 25 Feb 2014 08:54

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.

Post Reply