Page 1 of 1

Using Unidac for multiple database connections

Posted: Wed 28 Sep 2011 12:21
by sholmes
I have been reviewing the Unidac components as a replacement set of components for our Application as we move from Delphi 7 to Delphi 2010 and soon Delphi XE and beyond.

In the past, we have been using DBExpress, and all the alias and connection stuff was stored in two Ini files (Drivers, Connections) and was easily read from when needing to get a list of aliases and connection properties.

I have been reading the Unidac Documentation, trying to figure out how one would handle multiple database (Aliases), and to see if there was some built in storage facility for maintaining the aliases and connection properties for future connections. I have also been playing with the UniConnectDialog component and how one can change it depending on the database connecting to (Enabling and disabling features).

see DEMO: UniDacDemoForm;

and units MyConnectForm, InheritedConnectForm



Still, as far as i know there is no functionality for storing these properties and aliases. Is this correct?

A way to save and retrieve the aliases and connection properties?

Thanks for any of your help

Posted: Wed 28 Sep 2011 13:41
by tonymeadors
Shane,

I have had sucess getting aliasapp all reworked for
the new unidac connection stuff. Better luck than expected.

BUT the real problems are starting now with all the datatypes.

I found your entry because I was getting ready to start
hitting the forum up with a dozen question.

Call if you wish to get in on this.

tonyM

Posted: Fri 30 Sep 2011 09:53
by AndreyZ
UniDAC doesn't have functionality that allows storing and reading sets of connection options. You can leave your suggestion at our UserVoice page ( http://devart.uservoice.com/forums/1046 ... 939-unidac ), and if there are many votes for your suggestion, we will implement it. For the time being you should implement this functionality by yourself.