private static bool AsyncSql(string sql) { try { using (var db = SugarContext.GetInstance2()) { var result = db.Ado.ExecuteCommand(sql); } return(true); } catch { return(false); } }