Table of Contents

Class SQLiteProviderAdapter

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

Fields

MicrosoftDataSQLiteAssemblyName

public const string MicrosoftDataSQLiteAssemblyName = "Microsoft.Data.Sqlite"

Field Value

string

MicrosoftDataSQLiteClientNamespace

public const string MicrosoftDataSQLiteClientNamespace = "Microsoft.Data.Sqlite"

Field Value

string

SystemDataSQLiteAssemblyName

public const string SystemDataSQLiteAssemblyName = "System.Data.SQLite"

Field Value

string

SystemDataSQLiteClientNamespace

public const string SystemDataSQLiteClientNamespace = "System.Data.SQLite"

Field Value

string

Properties

ClearAllPools

public Action? ClearAllPools { get; }

Property Value

Action

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

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

public static SQLiteProviderAdapter GetInstance(SQLiteProvider provider)

Parameters

provider SQLiteProvider

Returns

SQLiteProviderAdapter