.NET数据访问策略:From "LINQ to SQL" to "LINQ to X"
2008-01-08 22:29
555 查看
ScottGu的LINQ to SQL系列blog让人耳目 一新。随然此.NET 3.5中的数据访问技术仅针对SQL Server,但显然是.NET数据访问技术的升级的序幕。
紧接着ASP.NET 3.5 Extension 中出现了Entity Framework,LINQ to Entities 来了,数据访问技术的升级将从SQL不断扩展到其他数据源平台。
.NET数据访问策略值得一看: http://blogs.msdn.com/data/archive/2007/04/28/microsoft-s-data-access-strategy.aspx
LINQ will ship as part of the next version of Visual Studio and the .NET Framework, codenamed Orcas. At the time that Orcas first ships, the .NET Framework will include support for LINQ over in-memory objects, LINQ over XML (XLINQ), LINQ over ADO.NET DataSets (LINQ to DataSet), and LINQ queries directly mapped to Microsoft SQL Server schemas (LINQ to SQL).
LINQ to SQL 与LINQ to Entities的区别?
LINQ to SQL supports rapid development of applications that query Microsoft SQL Server databases using objects that map directly to SQL Server schemas. LINQ to Entities supports more flexible mapping of objects to Microsoft SQL Server and other relational databases through extended ADO.NET Data Providers.
If you are writing an application that requires any of the following features, you should use the ADO.NET Entity Framework:
· The ability to define more flexible mapping to existing relational schema, for example:
o Mapping a single class to multiple tables
o Mapping to different types of inheritance
o Directly Modeling Many to Many relationships
o Mapping to an arbitrary query against the store
· The ability to query relational stores other than the Microsoft SQL Server family of products.
· The ability to share a model across Replication, Reporting Services, BI, Integration Services, etc.
· A full textual query language
· The ability to query a conceptual model without materializing results as objects
紧接着ASP.NET 3.5 Extension 中出现了Entity Framework,LINQ to Entities 来了,数据访问技术的升级将从SQL不断扩展到其他数据源平台。
.NET数据访问策略值得一看: http://blogs.msdn.com/data/archive/2007/04/28/microsoft-s-data-access-strategy.aspx
LINQ will ship as part of the next version of Visual Studio and the .NET Framework, codenamed Orcas. At the time that Orcas first ships, the .NET Framework will include support for LINQ over in-memory objects, LINQ over XML (XLINQ), LINQ over ADO.NET DataSets (LINQ to DataSet), and LINQ queries directly mapped to Microsoft SQL Server schemas (LINQ to SQL).
LINQ to SQL 与LINQ to Entities的区别?
LINQ to SQL supports rapid development of applications that query Microsoft SQL Server databases using objects that map directly to SQL Server schemas. LINQ to Entities supports more flexible mapping of objects to Microsoft SQL Server and other relational databases through extended ADO.NET Data Providers.
If you are writing an application that requires any of the following features, you should use the ADO.NET Entity Framework:
· The ability to define more flexible mapping to existing relational schema, for example:
o Mapping a single class to multiple tables
o Mapping to different types of inheritance
o Directly Modeling Many to Many relationships
o Mapping to an arbitrary query against the store
· The ability to query relational stores other than the Microsoft SQL Server family of products.
· The ability to share a model across Replication, Reporting Services, BI, Integration Services, etc.
· A full textual query language
· The ability to query a conceptual model without materializing results as objects
相关文章推荐
- java.sql.SQLException: null, message from server: "Host '192.168.1.101' is not allowed to connect
- 用LINQ to SQL 进行数据访问、更新和删除(附Demo示例程序下载)
- DataRabbit 轻量的数据访问框架(14)-- DataRabbit 3.0 与 Linq to sql 性能比较
- LINQ to Entities 实现sql 关键字"In"方式总结
- java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect
- 实现类似LINQ TO SQL的功能, 轻量级的数据访问组件
- java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect
- java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect
- 步步为营VS 2008 + .NET 3.5(13) - DLINQ(LINQ to SQL)之用户自定义函数、在不同的DataContext之间做更新、缓存、获取信息、数据加载选项和延迟加载
- 步步为营VS 2008 + .NET 3.5(13) - DLINQ(LINQ to SQL)之用户自定义函数、在不同的DataContext之间做更新、缓存、获取信息、数据加载选项和延迟加载
- LINQ to Entities 实现sql 关键字"In"方式总结
- DataRabbit 轻量的数据访问框架(14)-- DataRabbit 3.0 与 Linq to sql 性能比较
- 精华的微软文章".NET 数据访问架构指南",特别是数据库连接的测试.即监视链接池化(1)
- 步步为营VS 2008 + .NET 3.5(13) - DLINQ(LINQ to SQL)之用户自定义函数、在不同的DataContext之间做更新、缓存、获取信息、数据加载选项和延迟加载
- LinqToSql中更新或删除数据时"找不到行或者行已更改"的解决办法
- linq to sql中慎用Where(Func predicate),小心被Linq给"骗"了!
- LINQ to Entities 实现sql 关键字"In"方式总结
- OGG "Loading data from file to Replicat"table静态数据同步配置过程
- OGG "Loading data from file to Replicat"table数据的静态同步配置过程
- java.sql.SQLException: null, message from server: "Host 'xxx' is not allowed to connect