Class MsAccessQueryProvider
Provider, which know execute query for MsAccess.
Inheritance
System.Object
MsAccessQueryProvider
Namespace: Kros.KORM.Query.MsAccess
Assembly: Kros.KORM.MsAccess.dll
Syntax
public class MsAccessQueryProvider : QueryProvider
Constructors
MsAccessQueryProvider(ConnectionStringSettings, ISqlExpressionVisitorFactory, IModelBuilder, ILogger)
Initializes a new instance of the MsAccessQueryProvider class.
Declaration
public MsAccessQueryProvider(ConnectionStringSettings connectionString, ISqlExpressionVisitorFactory sqlGeneratorFactory, IModelBuilder modelBuilder, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
System.Configuration.ConnectionStringSettings | connectionString | The connection string settings. |
ISqlExpressionVisitorFactory | sqlGeneratorFactory | The SQL generator factory. |
IModelBuilder | modelBuilder | The model builder. |
ILogger | logger | The logger. |
MsAccessQueryProvider(DbConnection, ISqlExpressionVisitorFactory, IModelBuilder, ILogger)
Initializes a new instance of the MsAccessQueryProvider class.
Declaration
public MsAccessQueryProvider(DbConnection connection, ISqlExpressionVisitorFactory sqlGeneratorFactory, IModelBuilder modelBuilder, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
System.Data.Common.DbConnection | connection | The connection. |
ISqlExpressionVisitorFactory | sqlGeneratorFactory | The SQL generator factory. |
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 |
Methods
CreateBulkInsert()
Creates instance of
Declaration
public override IBulkInsert CreateBulkInsert()
Returns
Type | Description |
---|---|
IBulkInsert | Instance of |
CreateBulkUpdate()
Creates instance of
Declaration
public override IBulkUpdate CreateBulkUpdate()
Returns
Type | Description |
---|---|
IBulkUpdate | Instance of |
GetSchemaLoader()
Returns instance of
Declaration
protected override IDatabaseSchemaLoader GetSchemaLoader()
Returns
Type | Description |
---|---|
IDatabaseSchemaLoader |
SupportsPrepareCommand()
Returns, if provider supports preparing of command (System.Data.Common.DbCommand.Prepare).
Declaration
public override bool SupportsPrepareCommand()
Returns
Type | Description |
---|---|
System.Boolean | Returns false. |