Table of Contents

Class SqlCeTools

Namespace
LinqToDB.DataProvider.SqlCe
Assembly
linq2db.dll
public static class SqlCeTools
Inheritance
SqlCeTools

Properties

DefaultBulkCopyType

[Obsolete("Use SqlCeOptions.Default.BulkCopyType instead.")]
public static BulkCopyType DefaultBulkCopyType { get; set; }

Property Value

BulkCopyType

Methods

CreateDataConnection(DbConnection)

public static DataConnection CreateDataConnection(DbConnection connection)

Parameters

connection DbConnection

Returns

DataConnection

CreateDataConnection(DbTransaction)

public static DataConnection CreateDataConnection(DbTransaction transaction)

Parameters

transaction DbTransaction

Returns

DataConnection

CreateDataConnection(string)

public static DataConnection CreateDataConnection(string connectionString)

Parameters

connectionString string

Returns

DataConnection

CreateDatabase(string, bool)

public static void CreateDatabase(string databaseName, bool deleteIfExists = false)

Parameters

databaseName string
deleteIfExists bool

DropDatabase(string)

public static void DropDatabase(string databaseName)

Parameters

databaseName string

GetDataProvider()

public static IDataProvider GetDataProvider()

Returns

IDataProvider

ResolveSqlCe(Assembly)

public static void ResolveSqlCe(Assembly assembly)

Parameters

assembly Assembly

ResolveSqlCe(string)

public static void ResolveSqlCe(string path)

Parameters

path string