Skip to content

Commit

Permalink
Make INpgsqlRelationalConnection.CloneWith return INpgsqlRelationalCo…
Browse files Browse the repository at this point in the history
…nnection

Closes #3124
  • Loading branch information
roji committed Apr 1, 2024
1 parent 7f6bdbe commit 44a3383
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ public interface INpgsqlRelationalConnection : IRelationalConnection
/// any release. You should only use it directly in your code with extreme caution and knowing that
/// doing so can result in application failures when updating to a new Entity Framework Core release.
/// </summary>
NpgsqlRelationalConnection CloneWith(string connectionString);
INpgsqlRelationalConnection CloneWith(string connectionString);
}
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public override Transaction? CurrentAmbientTransaction
/// any release. You should only use it directly in your code with extreme caution and knowing that
/// doing so can result in application failures when updating to a new Entity Framework Core release.
/// </summary>
public virtual NpgsqlRelationalConnection CloneWith(string connectionString)
public virtual INpgsqlRelationalConnection CloneWith(string connectionString)
{
var clonedDbConnection = DbConnection.CloneWith(connectionString);

Expand Down

0 comments on commit 44a3383

Please sign in to comment.