Table of Contents

Class AccessProviderAdapter

Namespace
LinqToDB.Internal.DataProvider.Access
Assembly
linq2db.dll
public sealed class AccessProviderAdapter : IDynamicProviderAdapter
Inheritance
object
AccessProviderAdapter
Implements
Extension Methods

Properties

CommandType

Gets type, that implements DbCommand for current ADO.NET provider.

public Type CommandType { get; }

Property Value

Type

ConnectionType

Gets type, that implements DbConnection for current ADO.NET provider.

public Type ConnectionType { get; }

Property Value

Type

DataReaderType

Gets type, that implements DbDataReader for current ADO.NET provider.

public Type DataReaderType { get; }

Property Value

Type

GetOdbcDbType

public Func<DbParameter, OdbcProviderAdapter.OdbcType>? GetOdbcDbType { get; }

Property Value

Func<DbParameter, OdbcProviderAdapter.OdbcType>

GetOleDbDbType

public Func<DbParameter, OleDbProviderAdapter.OleDbType>? GetOleDbDbType { get; }

Property Value

Func<DbParameter, OleDbProviderAdapter.OleDbType>

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

Type

SetOdbcDbType

public Action<DbParameter, OdbcProviderAdapter.OdbcType>? SetOdbcDbType { get; }

Property Value

Action<DbParameter, OdbcProviderAdapter.OdbcType>

SetOleDbDbType

public Action<DbParameter, OleDbProviderAdapter.OleDbType>? SetOleDbDbType { get; }

Property Value

Action<DbParameter, OleDbProviderAdapter.OleDbType>

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

Type

Methods

CreateConnection(string)

Creates instance of database provider connection class using provided connection string.

public DbConnection CreateConnection(string connectionString)

Parameters

connectionString string

Connection string to use with created connection.

Returns

DbConnection

Connection instance.