Class DuckDBProviderAdapter
- Namespace
- LinqToDB.Internal.DataProvider.DuckDB
- Assembly
- linq2db.dll
public sealed class DuckDBProviderAdapter : IDynamicProviderAdapter
- Inheritance
-
objectDuckDBProviderAdapter
- Implements
- Extension Methods
Fields
AssemblyName
public const string AssemblyName = "DuckDB.NET.Data"
Field Value
Properties
CommandType
Gets type, that implements DbCommand for current ADO.NET provider.
public Type CommandType { get; }
Property Value
ConnectionType
Gets type, that implements DbConnection for current ADO.NET provider.
public Type ConnectionType { get; }
Property Value
DataReaderType
Gets type, that implements DbDataReader for current ADO.NET provider.
public Type DataReaderType { get; }
Property Value
DuckDBDateOnly
public Type DuckDBDateOnly { get; }
Property Value
DuckDBInterval
public Type DuckDBInterval { get; }
Property Value
DuckDBTimeOnly
public Type DuckDBTimeOnly { get; }
Property Value
DuckDBTimestamp
public Type DuckDBTimestamp { get; }
Property Value
MappingSchema
public MappingSchema MappingSchema { get; }
Property Value
ParameterType
Gets type, that implements DbParameter for current ADO.NET provider.
public Type ParameterType { get; }
Property Value
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
Methods
CreateConnection(string)
Creates instance of database provider connection class using provided connection string.
public DbConnection CreateConnection(string connectionString)
Parameters
connectionStringstringConnection string to use with created connection.
Returns
- DbConnection
Connection instance.