public void OpenConnection()
 {
     if (DbType == DatabaseType.MSSqlServer)
     {
         SqlServerConnection.OpenConnection();
     }
     else if (DbType == DatabaseType.SqLite)
     {
         SqliteConnection.Instance.OpenConnection();
     }
 }
 public void OpenConnection(String dbFullFilename)
 {
     if (DbType == DatabaseType.MSSqlServer)
     {
         SqlServerConnection.OpenConnection(dbFullFilename);
     }
     else if (DbType == DatabaseType.SqLite)
     {
         SqliteConnection.Instance.OpenConnection(dbFullFilename);
     }
 }