Table of Contents

Class SqlCeProviderAdapter

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

Fields

AssemblyName

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

Field Value

string

ClientNamespace

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

Field Value

string

ProviderFactoryName

public const string ProviderFactoryName = "System.Data.SqlServerCe.4.0"

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

CreateSqlCeEngine

public Func<string, SqlCeProviderAdapter.SqlCeEngine> CreateSqlCeEngine { get; }

Property Value

Func<string, SqlCeProviderAdapter.SqlCeEngine>

DataReaderType

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

public Type DataReaderType { get; }

Property Value

Type

GetDbType

public Func<DbParameter, SqlDbType> GetDbType { get; }

Property Value

Func<DbParameter, SqlDbType>

GetDecimalExpression

public LambdaExpression GetDecimalExpression { get; }

Property Value

LambdaExpression

ParameterType

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

public Type ParameterType { get; }

Property Value

Type

SetDbType

public Action<DbParameter, SqlDbType> SetDbType { get; }

Property Value

Action<DbParameter, SqlDbType>

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

public static SqlCeProviderAdapter GetInstance()

Returns

SqlCeProviderAdapter