Class SqlCeTools
- Namespace
- LinqToDB.DataProvider.SqlCe
- Assembly
- linq2db.dll
public static class SqlCeTools
- Inheritance
-
SqlCeTools
Properties
[Obsolete("Use SqlCeOptions.Default.BulkCopyType instead.")]
public static BulkCopyType DefaultBulkCopyType { get; set; }
Property Value
- BulkCopyType
Methods
public static DataConnection CreateDataConnection(DbConnection connection)
Parameters
connection
DbConnection
Returns
- DataConnection
public static DataConnection CreateDataConnection(DbTransaction transaction)
Parameters
transaction
DbTransaction
Returns
- DataConnection
public static DataConnection CreateDataConnection(string connectionString)
Parameters
connectionString
string
Returns
- DataConnection
public static void CreateDatabase(string databaseName, bool deleteIfExists = false)
Parameters
databaseName
string
deleteIfExists
bool
public static void DropDatabase(string databaseName)
Parameters
databaseName
string
public static IDataProvider GetDataProvider()
Returns
- IDataProvider
public static void ResolveSqlCe(Assembly assembly)
Parameters
assembly
Assembly
public static void ResolveSqlCe(string path)
Parameters
path
string