2019-12-12 08:11:23 +01:00
|
|
|
using System.Data.Common;
|
2021-02-12 13:36:50 +01:00
|
|
|
using Umbraco.Cms.Infrastructure.Persistence.SqlSyntax;
|
2019-12-12 08:11:23 +01:00
|
|
|
|
2021-02-12 13:36:50 +01:00
|
|
|
namespace Umbraco.Cms.Infrastructure.Persistence
|
2019-12-12 08:11:23 +01:00
|
|
|
{
|
2020-03-13 18:44:58 +11:00
|
|
|
|
2019-12-12 08:11:23 +01:00
|
|
|
public interface IDbProviderFactoryCreator
|
|
|
|
|
{
|
|
|
|
|
DbProviderFactory CreateFactory(string providerName);
|
2019-12-12 09:09:26 +01:00
|
|
|
ISqlSyntaxProvider GetSqlSyntaxProvider(string providerName);
|
2020-01-15 13:40:35 +11:00
|
|
|
IBulkSqlInsertProvider CreateBulkSqlInsertProvider(string providerName);
|
2021-09-17 12:02:41 +02:00
|
|
|
void CreateDatabase(string providerName, string connectionString);
|
2021-07-05 08:24:44 +02:00
|
|
|
NPocoMapperCollection ProviderSpecificMappers(string providerName);
|
2019-12-12 08:11:23 +01:00
|
|
|
}
|
|
|
|
|
}
|