Page 1 of 1

Difference between Open and Connect Method on TUniConnection

Posted: Sun 08 Jun 2014 08:21
by testpresta
Hello

I am wondering what is the difference between Open and Connect Method fo TUniConnection object
I have the same question for difference between Close and Disconnect.

Thanks

Re: Difference between Open and Connect Method on TUniConnection

Posted: Tue 10 Jun 2014 08:27
by AlexP
Hello,

There is no difference between connection establishing methods:

Code: Select all

  UniConnection.Connected := True;
  UniConnection.Open;
  UniConnection.Connect;
  UniConnection1.Connected := False;
  UniConnection1.Close;
  UniConnection1.Disconnect;
Eventually, the same method SetConnected is called. These methods were added for compatibility when migrating from other components to UniDAC.