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