Microsoft SQL Server 2005 Compact Edition (SQL Server Compact Edition) supports a single development environment: Microsoft Visual Studio 2005. You can create managed applications by using either Microsoft Visual Basic or Microsoft Visual C#, or you can use Microsoft Visual C++ for Devices to create native applications.
Microsoft Visual Studio 2005
Visual Studio 2005 提供了用于创建应用程序的开发平台。使用 Visual Basic 或 Visual C#,可以为与 SQL Server 和 SQL Server Compact Edition 中的数据库进行通信的设备开发应用程序。
下图说明不同组件之间的关系。
To build a SQL Server Compact Edition application by using Visual Studio 2005, you must install the .NET Compact Framework and Visual Studio 2005. This provides all the necessary tools for developing applications for use with SQL Server Compact Edition.
有关详细信息,请参阅安装开发环境。
When you install Visual Studio 2005, the development environment is automatically configured for use with SQL Server Compact Edition.
您可以使用基于台式机的 Windows Mobile .NET 仿真程序来测试应用程序。在 Visual Studio 2005 和 .NET Compact Framework 中都可以进行此操作。
![]() |
---|
在通过仿真程序运行应用程序时,不能使用安全套接字层 (SSL) 加密。 |
有关部署的信息,请参阅部署 SQL Server Compact Edition 应用程序。
使用 Visual C++ 的本机应用程序
By using the Visual C++ option in Visual Studio 2005, you can apply your knowledge of Visual C++ to develop native applications.Visual Studio 2005 支持在使用 Windows Mobile 生成的平台进行 Visual C++ 开发。
在安装 Visual Studio 2005 后,可以生成引用正确命名空间的应用程序。