Table of Contents

Class OleDbProviderAdapter

Namespace
LinqToDB.Internal.DataProvider
Assembly
linq2db.dll
public sealed class OleDbProviderAdapter : IDynamicProviderAdapter
Inheritance
OleDbProviderAdapter
Implements
Inherited Members
Extension Methods

Fields

AssemblyName

public const string AssemblyName = "System.Data.OleDb"

Field Value

string

ClientNamespace

public const string ClientNamespace = "System.Data.OleDb"

Field Value

string

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

GetDbType

public Func<DbParameter, OleDbProviderAdapter.OleDbType> GetDbType { 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

SetDbType

public Action<DbParameter, OleDbProviderAdapter.OleDbType> SetDbType { 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.

GetInstance()

public static OleDbProviderAdapter GetInstance()

Returns

OleDbProviderAdapter