Exemple #1
0
 /// <summary>
 /// Desconectar
 /// </summary>
 public void CloseConnection()
 {
     if (Dbgala != null)
     {
         Dbgala.CloseDataBaseAccess();
         Dbgala = null;
     }
 }
Exemple #2
0
 /// <summary>
 /// Conectar
 /// </summary>
 public void OpenConnection()
 {
     Dbgala = new DarkConnectionMySQL("Server=localhost;Port=3306;Database=gala;Uid=galauser;Pwd=C0nnect+1;Allow Zero Datetime=True;Convert Zero Datetime=True;Persist Security Info=True");
     Dbgala.OpenConnection();
 }
 public DarkManagerMySQL(DarkConnectionMySQL dBConnection)
 {
     this.dBConnection = dBConnection;
     Nametable         = GetRealNameClass();
 }