File tree Expand file tree Collapse file tree
Tests/Open.Database.Extensions.Core.Tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ public QueryResultQueue(
165165 IEnumerable < int > ordinals ,
166166 IEnumerable < string > names ,
167167 IEnumerable < T > result )
168- : base ( ordinals , names , new ( result ) )
168+ : base ( ordinals , names , new ( result ) )
169169 {
170170 }
171171}
Original file line number Diff line number Diff line change 1- using System . Data . Common ;
2-
3- namespace Open . Database . Extensions ;
1+ namespace Open . Database . Extensions ;
42
53/// <summary>
64/// Common interface for creating a connection. Can easily be used with dependency injection.
@@ -77,7 +75,7 @@ public void Give(IDbConnection connection)
7775 /// <param name="connectionFactory">The connection factory to generate connections from.</param>
7876 /// <returns>An <see cref="ConnectionFactoryToPoolAdapter"/> to handle this factory.</returns>
7977 public static ConnectionFactoryToPoolAdapter AsPool ( this IDbConnectionFactory connectionFactory )
80- => new ( connectionFactory ) ;
78+ => new ( connectionFactory ) ;
8179
8280 /// <inheritdoc cref="AsPool(IDbConnectionFactory)"/>
8381 public static ConnectionFactoryToPoolAdapter AsPool ( this Func < IDbConnection > connectionFactory )
@@ -90,7 +88,7 @@ public static ConnectionFactoryToPoolAdapter AsPool(this Func<IDbConnection> con
9088 /// <returns>An <see cref="ConnectionFactoryToPoolAdapter{TConnection}"/> to handle this factory.</returns>
9189 public static ConnectionFactoryToPoolAdapter < TConnection > AsPool < TConnection > ( this IDbConnectionFactory < TConnection > connectionFactory )
9290 where TConnection : IDbConnection
93- => new ( connectionFactory ) ;
91+ => new ( connectionFactory ) ;
9492
9593 /// <inheritdoc cref="AsPool{TConnection}(IDbConnectionFactory{TConnection})"/>
9694 public static ConnectionFactoryToPoolAdapter < TConnection > AsPool < TConnection > ( this Func < TConnection > connectionFactory )
Original file line number Diff line number Diff line change 1- global using System . Data ;
1+ global using NSubstitute ;
2+ global using Open . ChannelExtensions ;
3+ global using System . Data ;
24global using System . Diagnostics . CodeAnalysis ;
35global using System . Threading . Channels ;
4- global using NSubstitute ;
56global using Xunit ;
6- global using Open . ChannelExtensions ;
You can’t perform that action at this time.
0 commit comments