Skip to content

Commit bac1e26

Browse files
committed
ReadSingle<T9>(splitOn)
1 parent 4de3387 commit bac1e26

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Dibix.Sdk/Environment/lockfile

3 Bytes
Binary file not shown.

src/Dibix/Access/IMultipleResultReader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public interface IMultipleResultReader : IDisposable
2727
TReturn ReadSingle<TReturn, TSecond>(string splitOn) where TReturn : new();
2828
TReturn ReadSingle<TReturn, TSecond, TThird, TFourth>(string splitOn) where TReturn : new();
2929
TReturn ReadSingle<TReturn, TSecond, TThird, TFourth, TFifth>(string splitOn) where TReturn : new();
30-
TReturn ReadSingle<TReturn, TSecond, TThird, TFourth, TFifth, TSixth, TSeventh, TEighth, TNinth, TTenth>(string splitOn) where TReturn : new();
30+
TReturn ReadSingle<TReturn, TSecond, TThird, TFourth, TFifth, TSixth, TSeventh, TEighth, TNinth>(string splitOn) where TReturn : new();
3131
T ReadSingleOrDefault<T>();
3232
TReturn ReadSingleOrDefault<TReturn, TSecond>(string splitOn) where TReturn : new();
3333
TReturn ReadSingleOrDefault<TReturn, TSecond, TThird>(string splitOn) where TReturn : new();

src/Dibix/Access/MultipleResultReader.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,10 @@ protected MultipleResultReader(string commandText, CommandType commandType, Para
127127
});
128128

129129
// OrderManagement (GetProductDesign)
130-
public TReturn ReadSingle<TReturn, TSecond, TThird, TFourth, TFifth, TSixth, TSeventh, TEighth, TNinth, TTenth>(string splitOn) where TReturn : new() => this.Execute(() =>
130+
public TReturn ReadSingle<TReturn, TSecond, TThird, TFourth, TFifth, TSixth, TSeventh, TEighth, TNinth>(string splitOn) where TReturn : new() => this.Execute(() =>
131131
{
132132
MultiMapper multiMapper = new MultiMapper();
133-
return this.ReadMany<TReturn, TSecond, TThird, TFourth, TFifth, TSixth, TSeventh, TEighth, TNinth, TTenth, TReturn>((a, b, c, d, e, f, g, h, i, j) => multiMapper.MapRow<TReturn>(useProjection: false, a, b, c, d, e, f, g, h, i, j), splitOn)
133+
return this.ReadMany<TReturn, TSecond, TThird, TFourth, TFifth, TSixth, TSeventh, TEighth, TNinth, TReturn>((a, b, c, d, e, f, g, h, i) => multiMapper.MapRow<TReturn>(useProjection: false, a, b, c, d, e, f, g, h, i), splitOn)
134134
.PostProcess(multiMapper)
135135
.Single();
136136
});

0 commit comments

Comments
 (0)