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.
how to share TuniConnection between applicaitons
-
AndreyZ
Re: how to share TuniConnection between applicaitons
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.
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.