You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatestaticreadonlyConcurrentDictionary<string,NpgsqlDataSource>DataSources=new();protectedoverrideDbConnectionCreateDbConnection(stringconnectionString){vardataSource=DataSources.GetOrAdd(connectionString,
x =>{vardataSourceBuilder=newNpgsqlDataSourceBuilder(x);// Possibly provide extension method here?returndataSourceBuilder.Build();});returndataSource.CreateConnection();}
Describe the solution you'd like
https://www.npgsql.org/doc/release-notes/7.0.html#dbdatasource
Make use of the new
NpgsqlDataSource
from Npgsql, which allows things on a higher levelThe text was updated successfully, but these errors were encountered: