Page 1 of 1
how to share TuniConnection between applicaitons
Posted: Wed 11 Sep 2013 16:19
by arusoft
Hi,
Is there way to share TUniConnection between applications. Also I am not seeing connection string property that I can share as an alternative.
Thank You.
Re: how to share TuniConnection between applicaitons
Posted: Thu 12 Sep 2013 10:01
by AndreyZ
Hello,
You can share one connection between applications using the TUniConnection.AssignConnect method. AssignConnect uses a preconnected TUniConnection to share it with the current TUniConnection component. You can learn more about the AssignConnect method in the UniDAC documentation (
http://www.devart.com/unidac/docs/devar ... ction).htm ).
Also, you can use connection strings as an alternative. Connection string support was added in UniDAC 5.0.1 (
http://www.devart.com/unidac/revision_history.html ), so in order to use it, you should upgrade UniDAC at least to this version.