Exemple #1
0
 public static void Connect()
 {
     if (!MySqlDB.IsEnabled)
     {
         SQLiteDb.SetConnection();
     }
     else
     {
         //MySqlDB.SetConnection();
     }
 }
Exemple #2
0
 public static void FastQuery(string _sql, string _class)
 {
     if (!MySqlDB.IsEnabled)
     {
         SQLiteDb.FastQuery(_sql, _class);
     }
     else
     {
         //MySqlDB.FastQuery(_sql, _class);
     }
 }
Exemple #3
0
        public static DataTable TypeQuery(string _sql)
        {
            DataTable dt = new DataTable();

            if (!MySqlDB.IsEnabled)
            {
                dt = SQLiteDb.TypeQuery(_sql);
            }
            else
            {
                //dt = MySqlDB.TypeQuery(_sql);
            }
            return(dt);
        }