hopefully not a horribly foolish refactoring
This commit is contained in:
parent
59d660165f
commit
1ecaf64dea
82 changed files with 782 additions and 398 deletions
|
@ -0,0 +1,12 @@
|
|||
using System.Data;
|
||||
using Npgsql;
|
||||
|
||||
namespace Femto.Common.Infrastructure.DbConnection;
|
||||
|
||||
public class DbConnectionFactory(string connectionString) : IDbConnectionFactory
|
||||
{
|
||||
public IDbConnection GetConnection()
|
||||
{
|
||||
return new NpgsqlConnection(connectionString);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue