SqlCeDatabase Class

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) Version: (6.0.1304.0)

public class SqlCeDatabase : Database

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.