SQL Server ce and. NET Compact framework Overview

Source: Internet
Author: User
Tags compact microsoft c

MicrosoftSQL Server 2005 compact Edition(SQL Server CE), you can create, manage, and maintain local databases on supported devices. You can also synchronize the local database with the Microsoft SQL Server database to exchange data between devices and servers.

Use. NET Compact framework

Microsoft. NET Compact framework is used to quickly develop applications for devices.Program.. NET Compact framework contains two main components:

Public Language Runtime

The runtime of a common language is an environment. It provides core thread services and memory management to manage application programs.Code. Code designed for runtime is called managed code, while code that does not use Runtime is called unmanaged code or local code. Local applications for smart devices are generated using Microsoft Visual C ++ for devices, while hosted applications use a. netProgramming Language(Including Microsoft Visual Basic and Microsoft Visual C.

. NET Compact framework class library

The. NET Compact framework Class Library provides reusable classes, from user interface development to thread management, to database access. These classes can shorten development time and simplify many common programming tasks.

For database access, the. NET Compact framework includes the system. Data namespace. It enables you to access SQL Server and SQL Server compact edition databases using ADO. net. Since ADO. NET provides consistent access to multiple data sources, developing SQL Server compact edition applications is similar to developing applications using many other database sources. When accessing the SQL Server compact edition database, you usually need to use the system. Data. sqlserverce namespace.

Note:

To develop applications for. NET Compact framework, you must install Microsoft Visual Studio 2003 or Microsoft Visual Studio 2005. In Visual Studio, you can use Microsoft C #, Microsoft Visual Basic, or both to develop applications.

Getting started

The system. Data. sqlserverce namespace provides the functions required when writing. NET applications using SQL Server compact edition.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.