Table of Contents

Class ClickHouseProviderAdapter

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

Fields

DriverAssemblyName

public const string DriverAssemblyName = "ClickHouse.Driver"

Field Value

string

DriverClientNamespace

public const string DriverClientNamespace = "ClickHouse.Driver.ADO"

Field Value

string

DriverProviderFactoryName

public const string DriverProviderFactoryName = "ClickHouse.Driver"

Field Value

string

DriverProviderTypesNamespace

public const string DriverProviderTypesNamespace = "ClickHouse.Driver.Numerics"

Field Value

string

OctonicaAssemblyName

public const string OctonicaAssemblyName = "Octonica.ClickHouseClient"

Field Value

string

OctonicaClientNamespace

public const string OctonicaClientNamespace = "Octonica.ClickHouseClient"

Field Value

string

OctonicaProviderFactoryName

public const string OctonicaProviderFactoryName = "Octonica.ClickHouseClient"

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

DriverDecimalToStringConverter

public Func<object, string>? DriverDecimalToStringConverter { get; }

Property Value

Func<object, string>

DriverDecimalType

public Type? DriverDecimalType { get; }

Property Value

Type

MappingSchema

public MappingSchema? MappingSchema { get; }

Property Value

MappingSchema

ParameterType

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

public Type ParameterType { get; }

Property Value

Type

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(ClickHouseProvider)

public static ClickHouseProviderAdapter GetInstance(ClickHouseProvider provider)

Parameters

provider ClickHouseProvider

Returns

ClickHouseProviderAdapter