Beispiel #1
0
 /// <summary>
 /// Connect to the server asynchronously
 /// </summary>
 /// <param name="connectionProperties">Connection properties of the server</param>
 /// <param name="callBack">Method to call when task finished</param>
 public void connectAsync(Common.connectionProperties connectionProperties, System.ComponentModel.RunWorkerCompletedEventHandler callBack)
 {
     if (checkCurrentServerType())
     {
         return;
     }
     _myConnection.connectAsync(connectionProperties, callBack);
 }
Beispiel #2
0
 /// <summary>
 /// Connect to the server
 /// </summary>
 /// <param name="connectionProperties">Connection properties of the server</param>
 /// <returns></returns>
 public bool connect(IMDEV.Database.Common.connectionProperties connectionProperties)
 {
     if (checkCurrentServerType())
     {
         return(false);
     }
     return(_myConnection.connect(connectionProperties));
 }
Beispiel #3
0
 // Asynchrone
 abstract public void connectAsync(connectionProperties parameters, System.ComponentModel.RunWorkerCompletedEventHandler callBack);
Beispiel #4
0
 abstract public bool connect(connectionProperties parameters);