Skip to content

Commit 02509a7

Browse files
committed
QueryManyAsync<T1>(commandText, commandType, parameters, cancellationToken) [package]
1 parent f7b1148 commit 02509a7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/Dibix/Access/DatabaseAccessorExtensions.QueryMany.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ public static Task<IEnumerable<T>> QueryManyAsync<T>(this IDatabaseAccessor acce
3535
Guard.IsNotNull(accessor, nameof(accessor));
3636
return accessor.QueryManyAsync<T>(commandText, CommandType.Text, parameters, buffered: true, cancellationToken);
3737
}
38+
// Notification (GetRetryRequests)
39+
public static Task<IEnumerable<T>> QueryManyAsync<T>(this IDatabaseAccessor accessor, string commandText, CommandType commandType, ParametersVisitor parameters, CancellationToken cancellationToken)
40+
{
41+
Guard.IsNotNull(accessor, nameof(accessor));
42+
return accessor.QueryManyAsync<T>(commandText, commandType, parameters, buffered: true, cancellationToken);
43+
}
3844

3945
public static IEnumerable<TReturn> QueryMany<TReturn, TSecond>(this IDatabaseAccessor accessor, string commandText, Action<TReturn, TSecond> map, string splitOn)
4046
{

0 commit comments

Comments
 (0)