C#学习经典方法之(五)--LINQ to SQL
2016-11-29 21:22
411 查看
LINQ
to SQL is a component of .NET Framework version 3.5 that provides a
run-time infrastructure(基础结构) for managing relational data as objects(将关系数据作为对象管理的).
Relational data appears as a collection of two-dimensional tables (relations or flat files), where common columns relate tables to each other. To use LINQ to SQL effectively, you must have some familiarity with the underlying principles of relational databases.
In
LINQ to SQL, the data model of a relational database is mapped to an
object model expressed in the programming language of the developer. When
the application runs, LINQ to SQL translates into SQL the
language-integrated queries in the object model and sends them to the
database for execution. When the database returns the results, LINQ to
SQL translates them back to objects that you can work with in your own
programming language.
Developers
using Visual Studio typically use the Object Relational Designer, which
provides a user interface for implementing many of the features of LINQ
to SQL.
The
documentation that is included with this release of LINQ to SQL
describes the basic building blocks, processes, and techniques you need
for building LINQ to SQL applications. You can also search the MSDN Library for specific issues, and you can participate in the LINQ Forum, where you can discuss more complex topics in detail with experts. Finally, the LINQ to SQL: .NET Language-Integrated Query for Relational Data white paper details LINQ to SQL technology, complete with Visual Basic and C# code examples.
Provides a condensed overview of LINQ to SQL along with information about how to get started using LINQ to SQL.
编程指南
Provides steps for mapping, querying, updating, debugging, and similar tasks.
参考
Provides reference information about several aspects of LINQ to SQL. Topics include SQL-CLR Type Mapping, Standard Query Operator Translation, and more.
示例
Provides links to Visual Basic and C# samples.
Provides an overview of LINQ technologies.
Visual Basic 中的 LINQ
Describes LINQ technologies for Visual Basic users.
LINQ to ADO.NET
Links to the ADO.NET portal.
LINQ to SQL Walkthroughs
Lists walkthroughs available for LINQ to SQL.
下载示例数据库
Describes how to download sample databases used in the documentation.
LinqDataSource Technology Overview
Describes how the LinqDataSource control exposes Language-Integrated Query (LINQ) to Web developers through the ASP.NET data-source control architecture.
备注:摘自https://msdn.microsoft.com/zh-cn/library/bb386976.aspx
to SQL is a component of .NET Framework version 3.5 that provides a
run-time infrastructure(基础结构) for managing relational data as objects(将关系数据作为对象管理的).
Relational data appears as a collection of two-dimensional tables (relations or flat files), where common columns relate tables to each other. To use LINQ to SQL effectively, you must have some familiarity with the underlying principles of relational databases.
In
LINQ to SQL, the data model of a relational database is mapped to an
object model expressed in the programming language of the developer. When
the application runs, LINQ to SQL translates into SQL the
language-integrated queries in the object model and sends them to the
database for execution. When the database returns the results, LINQ to
SQL translates them back to objects that you can work with in your own
programming language.
Developers
using Visual Studio typically use the Object Relational Designer, which
provides a user interface for implementing many of the features of LINQ
to SQL.
The
documentation that is included with this release of LINQ to SQL
describes the basic building blocks, processes, and techniques you need
for building LINQ to SQL applications. You can also search the MSDN Library for specific issues, and you can participate in the LINQ Forum, where you can discuss more complex topics in detail with experts. Finally, the LINQ to SQL: .NET Language-Integrated Query for Relational Data white paper details LINQ to SQL technology, complete with Visual Basic and C# code examples.
本节内容
入门Provides a condensed overview of LINQ to SQL along with information about how to get started using LINQ to SQL.
编程指南
Provides steps for mapping, querying, updating, debugging, and similar tasks.
参考
Provides reference information about several aspects of LINQ to SQL. Topics include SQL-CLR Type Mapping, Standard Query Operator Translation, and more.
示例
Provides links to Visual Basic and C# samples.
相关章节
LINQ (Language-Integrated Query)Provides an overview of LINQ technologies.
Visual Basic 中的 LINQ
Describes LINQ technologies for Visual Basic users.
LINQ to ADO.NET
Links to the ADO.NET portal.
LINQ to SQL Walkthroughs
Lists walkthroughs available for LINQ to SQL.
下载示例数据库
Describes how to download sample databases used in the documentation.
LinqDataSource Technology Overview
Describes how the LinqDataSource control exposes Language-Integrated Query (LINQ) to Web developers through the ASP.NET data-source control architecture.
备注:摘自https://msdn.microsoft.com/zh-cn/library/bb386976.aspx
相关文章推荐
- C#学习经典方法之(五)--LINQ中的DataContext类
- c#写webservice快速链接到数据库的方法Linq to Sql简单操作
- linq to sql 学习(10)linq动态字段的解决方法
- 学习并使用了两种linq to entity 的实现sql关键字in的查询方法
- [新手入门]快速学习 ADO.NET Entity Framework系列文章 #3 -- LINQ-to-SQL、EntitySQL、查询产生器方法(Query builder)三种语法
- 学习并使用了两种linq to entity 的实现sql关键字in的查询方法
- LINQ体验(11)——LINQ to SQL语句之Null语义和String/DateTime方法
- LINQ To SQL深入学习系列之三(C#3.0为LINQ的加强之三表达式树)
- Linq to SQL Delete时遇到问题的解决方法
- 解决 Linq To SQL 中 DataContext 没有 CreateTable 方法的郁闷
- Linq to sql 学习笔记
- LINQ To SQL深入学习系列之二(C#3.0为LINQ的加强之二)
- LINQ学习实战:查看LINQ生成SQL语句的几种方法
- 在LINQ to SQL中使用Translate方法以及修改查询用SQL
- LINQ To SQL深入学习系列之四(LINQ查询基础)
- LINQ to SQL学习 之Select/Distinct和Count/Sum/Min/Max/Avg
- LINQ To SQL深入学习系列之二(C#3.0为LINQ的加强之二)
- [转自JeffreyZhao]在LINQ to SQL中使用Translate方法以及修改查询用SQL
- [转自JeffreyZhao]在LINQ to SQL中使用Translate方法以及修改查询用SQL
- Linq To SQL学习(Part1)