Table of Contents

Class OdbcProviderAdapter

Namespace
LinqToDB.DataProvider
Assembly
linq2db.dll
public class OdbcProviderAdapter : IDynamicProviderAdapter
Inheritance
OdbcProviderAdapter
Implements
Extension Methods

Fields

AssemblyName

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

Field Value

string

ClientNamespace

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

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, OdbcProviderAdapter.OdbcType> GetDbType { get; }

Property Value

Func<DbParameter, OdbcProviderAdapter.OdbcType>

ParameterType

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

public Type ParameterType { get; }

Property Value

Type

SetDbType

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

Property Value

Action<DbParameter, OdbcProviderAdapter.OdbcType>

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

GetInstance()

public static OdbcProviderAdapter GetInstance()

Returns

OdbcProviderAdapter