Skip to content

Commit

Permalink
Merge pull request #61 from syserr0r/patch-1
Browse files Browse the repository at this point in the history
Fix SSL/Certificate authentication
  • Loading branch information
roji authored Dec 12, 2016
2 parents c6702ce + 767f11f commit b4e0e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EntityFramework6.Npgsql/NpgsqlServices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ static void UsingPostgresDbConnection(NpgsqlConnection connection, Action<Npgsql
Pooling = false
};

using (var masterConnection = new NpgsqlConnection(connectionBuilder.ConnectionString))
using (var masterConnection = connection.CloneWith(connectionBuilder.ConnectionString))
{
masterConnection.Open();//using's Dispose will close it even if exception...
action(masterConnection);
Expand Down

0 comments on commit b4e0e91

Please sign in to comment.