public IDbCommand GetIDbCommand(string key)
        {
            var s = MySqlDbConfigManager.GetDBconfigManager().GetConntonString(key);

            this._con = this._con ?? new MySqlConnection(s);
            this._con.Open();
            return(this._con.CreateCommand());
        }
Beispiel #2
0
 public static MySqlDbConfigManager GetDBconfigManager(string key = "DbConfiguration")
 {
     obj = obj ?? new MySqlDbConfigManager(key);
     return(obj);
 }