/// <summary> /// Perform the Query and then trim any strings that are returned /// NOTE: There could be a performance hit when doing this /// </summary> public IEnumerable <T> QueryAndTrimResults <T>( string sql, object param = null, IDbTransaction transaction = null, bool buffered = true, int?commandTimeout = null, CommandType?commandType = null) { return(AdditionalDapper.Query <T>(_sqlConnection, sql, param, transaction, buffered, commandTimeout, commandType)); }
/// <summary> /// Perform the Query and then trim any strings that are returned /// NOTE: There could be a performance hit when doing this /// </summary> public IEnumerable <TReturn> QueryAndTrimResults <TFirst, TSecond, TReturn>( string sql, Func <TFirst, TSecond, TReturn> map, object param = null, IDbTransaction transaction = null, bool buffered = true, string splitOn = "Id", int?commandTimeout = null, CommandType?commandType = null) { return(AdditionalDapper.Query <TFirst, TSecond, TReturn>(_sqlConnection, sql, map, param, transaction, buffered, splitOn, commandTimeout, commandType)); }