Class AccessProviderAdapter
- Namespace
- LinqToDB.Internal.DataProvider.Access
- Assembly
- linq2db.dll
public sealed class AccessProviderAdapter : IDynamicProviderAdapter
- Inheritance
-
objectAccessProviderAdapter
- Implements
- Extension Methods
Properties
CommandType
Gets type, that implements DbCommand for current ADO.NET provider.
public Type CommandType { get; }
Property Value
ConnectionType
Gets type, that implements DbConnection for current ADO.NET provider.
public Type ConnectionType { get; }
Property Value
DataReaderType
Gets type, that implements DbDataReader for current ADO.NET provider.
public Type DataReaderType { get; }
Property Value
GetOdbcDbType
public Func<DbParameter, OdbcProviderAdapter.OdbcType>? GetOdbcDbType { get; }
Property Value
GetOleDbDbType
public Func<DbParameter, OleDbProviderAdapter.OleDbType>? GetOleDbDbType { get; }
Property Value
GetOleDbSchemaTable
public Func<DbConnection, Guid, object[]?, DataTable>? GetOleDbSchemaTable { get; }
Property Value
- Func<DbConnection, Guid, object[], DataTable>
ParameterType
Gets type, that implements DbParameter for current ADO.NET provider.
public Type ParameterType { get; }
Property Value
SetOdbcDbType
public Action<DbParameter, OdbcProviderAdapter.OdbcType>? SetOdbcDbType { get; }
Property Value
SetOleDbDbType
public Action<DbParameter, OleDbProviderAdapter.OleDbType>? SetOleDbDbType { get; }
Property Value
TransactionType
Gets type, that implements DbTransaction for current ADO.NET provider. For providers/databases without transaction support contains null.
public Type TransactionType { get; }
Property Value
Methods
CreateConnection(string)
Creates instance of database provider connection class using provided connection string.
public DbConnection CreateConnection(string connectionString)
Parameters
connectionStringstringConnection string to use with created connection.
Returns
- DbConnection
Connection instance.