Class SqlCeProviderAdapter
- Namespace
- LinqToDB.Internal.DataProvider.SqlCe
- Assembly
- linq2db.dll
public sealed class SqlCeProviderAdapter : IDynamicProviderAdapter
- Inheritance
-
objectSqlCeProviderAdapter
- Implements
- Extension Methods
Fields
AssemblyName
public const string AssemblyName = "System.Data.SqlServerCe"
Field Value
ClientNamespace
public const string ClientNamespace = "System.Data.SqlServerCe"
Field Value
ProviderFactoryName
public const string ProviderFactoryName = "System.Data.SqlServerCe.4.0"
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
CreateSqlCeEngine
public Func<string, SqlCeProviderAdapter.SqlCeEngine> CreateSqlCeEngine { get; }
Property Value
DataReaderType
Gets type, that implements DbDataReader for current ADO.NET provider.
public Type DataReaderType { get; }
Property Value
GetDbType
public Func<DbParameter, SqlDbType> GetDbType { get; }
Property Value
GetDecimalExpression
public LambdaExpression GetDecimalExpression { get; }
Property Value
ParameterType
Gets type, that implements DbParameter for current ADO.NET provider.
public Type ParameterType { get; }
Property Value
SetDbType
public Action<DbParameter, SqlDbType> SetDbType { 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.
GetInstance()
public static SqlCeProviderAdapter GetInstance()