View Source
Class DbProviderFactoryCreator
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class DbProviderFactoryCreator : IDbProviderFactoryCreator
Constructors
View Source
DbProviderFactoryCreator(Func<String, DbProviderFactory>, IEnumerable<ISqlSyntaxProvider>, IEnumerable<IBulkSqlInsertProvider>, IEnumerable<IDatabaseCreator>, IEnumerable<IProviderSpecificMapperFactory>)
Declaration
public DbProviderFactoryCreator(Func<string, DbProviderFactory> getFactory, IEnumerable<ISqlSyntaxProvider> syntaxProviders, IEnumerable<IBulkSqlInsertProvider> bulkSqlInsertProviders, IEnumerable<IDatabaseCreator> databaseCreators, IEnumerable<IProviderSpecificMapperFactory> providerSpecificMapperFactories)
Parameters
View Source
DbProviderFactoryCreator(Func<String, DbProviderFactory>, IEnumerable<ISqlSyntaxProvider>, IEnumerable<IBulkSqlInsertProvider>, IEnumerable<IDatabaseCreator>, IEnumerable<IProviderSpecificMapperFactory>, IEnumerable<IProviderSpecificInterceptor>)
Declaration
public DbProviderFactoryCreator(Func<string, DbProviderFactory> getFactory, IEnumerable<ISqlSyntaxProvider> syntaxProviders, IEnumerable<IBulkSqlInsertProvider> bulkSqlInsertProviders, IEnumerable<IDatabaseCreator> databaseCreators, IEnumerable<IProviderSpecificMapperFactory> providerSpecificMapperFactories, IEnumerable<IProviderSpecificInterceptor> providerSpecificInterceptors)
Parameters
Methods
View Source
CreateBulkSqlInsertProvider(String)
Declaration
public IBulkSqlInsertProvider CreateBulkSqlInsertProvider(string providerName)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Returns
View Source
CreateDatabase(String, String)
Declaration
public void CreateDatabase(string providerName, string connectionString)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
System.String |
connectionString |
|
View Source
CreateFactory(String)
Declaration
public DbProviderFactory CreateFactory(string providerName)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Returns
Type |
Description |
System.Data.Common.DbProviderFactory |
|
View Source
GetProviderSpecificInterceptors(String)
Declaration
public IEnumerable<IProviderSpecificInterceptor> GetProviderSpecificInterceptors(string providerName)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Returns
View Source
GetSqlSyntaxProvider(String)
Declaration
public ISqlSyntaxProvider GetSqlSyntaxProvider(string providerName)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Returns
View Source
ProviderSpecificMappers(String)
Declaration
public NPocoMapperCollection ProviderSpecificMappers(string providerName)
Parameters
Type |
Name |
Description |
System.String |
providerName |
|
Returns