WIP
This commit is contained in:
parent
71576a4b1f
commit
73a1f11e99
21 changed files with 236 additions and 228 deletions
10
Core/Sql/ConnectionFactory/IDbConnectionFactory.cs
Normal file
10
Core/Sql/ConnectionFactory/IDbConnectionFactory.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace PlanTempus.Core.Sql.ConnectionFactory
|
||||
{
|
||||
public record ConnectionStringParameters(string user, string pwd);
|
||||
|
||||
public interface IDbConnectionFactory
|
||||
{
|
||||
System.Data.IDbConnection Create();
|
||||
System.Data.IDbConnection Create(ConnectionStringParameters connectionStringTemplateParameters);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue