Table of Contents

Class DuckDBProviderAdapter

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

Fields

AssemblyName

public const string AssemblyName = "DuckDB.NET.Data"

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

DuckDBDateOnly

public Type DuckDBDateOnly { get; }

Property Value

Type

DuckDBInterval

public Type DuckDBInterval { get; }

Property Value

Type

DuckDBTimeOnly

public Type DuckDBTimeOnly { get; }

Property Value

Type

DuckDBTimestamp

public Type DuckDBTimestamp { 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.