Class MsAccessQueryProviderFactory
Factory, which know create MsAccess query provider.
Inheritance
System.Object
MsAccessQueryProviderFactory
Implements
Namespace: Kros.KORM.Query.MsAccess
Assembly: Kros.KORM.MsAccess.dll
Syntax
public class MsAccessQueryProviderFactory : IQueryProviderFactory
Methods
Create(ConnectionStringSettings, IModelBuilder, IDatabaseMapper)
Creates the specified MsAccess QueryProvider factory.
Declaration
public IQueryProvider Create(ConnectionStringSettings connectionString, IModelBuilder modelBuilder, IDatabaseMapper databaseMapper)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.ConnectionStringSettings | connectionString | The connection string. |
IModelBuilder | modelBuilder | The model builder. |
IDatabaseMapper | databaseMapper | Database mapper. |
Returns
Type | Description |
---|---|
IQueryProvider | Instance of MsAccessQueryProvider. |
Create(DbConnection, IModelBuilder, IDatabaseMapper)
Creates the specified MsAccess QueryProvider factory.
Declaration
public IQueryProvider Create(DbConnection connection, IModelBuilder modelBuilder, IDatabaseMapper databaseMapper)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbConnection | connection | The connection. |
IModelBuilder | modelBuilder | The model builder. |
IDatabaseMapper | databaseMapper | Database mapper. |
Returns
Type | Description |
---|---|
IQueryProvider | Instance of MsAccessQueryProvider. |
Register()
Registers instance of this type to QueryProviderFactories.
Declaration
public static void Register()