/// <summary> /// Execute DataSet async /// </summary> /// <param name="conn"></param> /// <param name="cmdText"></param> /// <param name="commandType"></param> /// <param name="transaction"></param> /// <returns></returns> public static Task <DataSet> ExecuteDataSetAsync(this MySqlConnection conn, string cmdText, CommandType commandType, MySqlTransaction transaction) { conn.CheckNull(nameof(conn)); return(conn.ExecuteDataSetAsync(cmdText, null, commandType, transaction)); }
/// <summary> /// Execute DataSet async /// </summary> /// <param name="conn"></param> /// <param name="cmdText"></param> /// <param name="parameters"></param> /// <param name="commandType"></param> /// <returns></returns> public static Task <DataSet> ExecuteDataSetAsync(this MySqlConnection conn, string cmdText, MySqlParameter[] parameters, CommandType commandType) { conn.CheckNull(nameof(conn)); return(conn.ExecuteDataSetAsync(cmdText, parameters, commandType, null)); }
/// <summary> /// Execute DataSet async /// </summary> /// <param name="conn"></param> /// <param name="cmdText"></param> /// <returns></returns> public static Task <DataSet> ExecuteDataSetAsync(this MySqlConnection conn, string cmdText) { conn.CheckNull(nameof(conn)); return(conn.ExecuteDataSetAsync(cmdText, null, CommandType.Text, null)); }