SqlCeDatabase Class
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The latest Enterprise Library information can be found at the Enterprise Library site. |
Provides helper methods to make working with a SQL Server Compact Edition database easier.
Namespace: Microsoft.Practices.EnterpriseLibrary.Data.SqlCe
Assembly: Microsoft.Practices.EnterpriseLibrary.Data.SqlCe (in Microsoft.Practices.EnterpriseLibrary.Data.SqlCe.dll)
Syntax
'Declaration
<DatabaseAssemblerAttribute(GetType(SqlCeDatabaseAssembler))> _
Public Class SqlCeDatabase _
Inherits Database
[DatabaseAssemblerAttribute(typeof(SqlCeDatabaseAssembler))]
public class SqlCeDatabase : Database
[DatabaseAssemblerAttribute(typeof(SqlCeDatabaseAssembler))]
public ref class SqlCeDatabase : public Database
public class SqlCeDatabase extends Database
Remarks
Because SQL Server CE has no connection pooling and the cost of opening the initial connection is high, this class implements a simple connection pool.
SQL Server CE requires full trust to run, so it cannot be used in partial trust environments.
Inheritance Hierarchy
System.Object
Database
Microsoft.Practices.EnterpriseLibrary.Data.SqlCe.SqlCeDatabase