Class MsAccessQueryProvider
Provider, which know execute query for MsAccess.
Implements
Inherited Members
Namespace: Kros.KORM.Query.MsAccess
Assembly: Kros.KORM.MsAccess.dll
Syntax
public class MsAccessQueryProvider : QueryProvider, IQueryProvider, IQueryProvider, IDisposable
Constructors
MsAccessQueryProvider(ConnectionStringSettings, ISqlExpressionVisitor, IModelBuilder, ILogger)
Initializes a new instance of the MsAccessQueryProvider class.
Declaration
public MsAccessQueryProvider(ConnectionStringSettings connectionString, ISqlExpressionVisitor sqlGenerator, IModelBuilder modelBuilder, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.ConnectionStringSettings | connectionString | The connection string settings. |
ISqlExpressionVisitor | sqlGenerator | The SQL generator. |
IModelBuilder | modelBuilder | The model builder. |
ILogger | logger | The logger. |
MsAccessQueryProvider(DbConnection, ISqlExpressionVisitor, IModelBuilder, ILogger)
Initializes a new instance of the MsAccessQueryProvider class.
Declaration
public MsAccessQueryProvider(DbConnection connection, ISqlExpressionVisitor sqlGenerator, IModelBuilder modelBuilder, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbConnection | connection | The connection. |
ISqlExpressionVisitor | sqlGenerator | The SQL generator. |
IModelBuilder | modelBuilder | The model builder. |
ILogger | logger | The logger. |
Properties
DbProviderFactory
Vráti System.Data.OleDb.OleDbFactory.Instance.
Declaration
public override DbProviderFactory DbProviderFactory { get; }
Property Value
Type | Description |
---|---|
System.Data.Common.DbProviderFactory |
Overrides
Methods
CreateBulkInsert()
Creates instance of MsAccessBulkInsert.
Declaration
public override IBulkInsert CreateBulkInsert()
Returns
Type | Description |
---|---|
IBulkInsert | Instance of MsAccessBulkInsert. |
Overrides
CreateBulkUpdate()
Creates instance of MsAccessBulkUpdate.
Declaration
public override IBulkUpdate CreateBulkUpdate()
Returns
Type | Description |
---|---|
IBulkUpdate | Instance of MsAccessBulkUpdate. |
Overrides
GetSchemaLoader()
Returns instance of MsAccessSchemaLoader.
Declaration
protected override IDatabaseSchemaLoader GetSchemaLoader()
Returns
Type | Description |
---|---|
IDatabaseSchemaLoader |