SQL Server compact and LINQ to SQL?

Source: Internet
Author: User
Tags microsoft website
SQL Server compact and LINQ to SQL?

By default, SQL Server compact 3.5 is installed in all Visual Studio versions. Therefore, it can be used with LINQ to SQL on the development computer. However, applications using SQL Server compact 3.5 and LINQ to SQLProgramDeployment is different from the deployment of SQL server applications. SQL Server compact 3.5 is not part of the. NET Framework. Therefore, it must be packaged with the application or downloaded separately from the Microsoft website.

Note the following features:

  • SQL Server compact 3.5 is packaged into a DLL that can be directly used for database files (with the extension. SDF.
  • SQL Server compact 3.5 runs in the same process as the client application. Therefore, the communication efficiency with SQL Server compact 3.5 is much higher than that with SQL Server. On the other hand, SQL Server compact 3.5 must be hostedCodeInteraction between non-hosted code, which consumes a certain amount of money.
  • The size of SQL Server compact 3.5 DLL is small. This feature reduces the total size of the application.
  • The SQL Server compact 3.5 is supported by the SQL to SQL runtime and sqlmetal command line tools.
  • The object link designer does not support SQL Server compact 3.5.

 

Sqlmetal.exe northwind. SDF/dbml: Northwind. Dbml/namespace: Linqcoding. Linqtosql

 

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.