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