Subsonic 3 LINQ与LINQ to SQL [英] Subsonic 3 LINQ vs LINQ to SQL

查看:83
本文介绍了Subsonic 3 LINQ与LINQ to SQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个项目中使用SQL Server 2005.我必须决定数据层.我想在我的项目中使用LINQ.我看到SubSonic 3支持LINQ,我也可以选择LINQ to SQL,因为我可以输入从LINQ到SQL的列表.

I am using SQL Server 2005 in a project. I have to decide about datalayer. I would like to use LINQ in my project. I saw SubSonic 3 supporting LINQ and I also have option for LINQ to SQL, because i can have typed lists from LINQ to SQL.

我想知道LINQ to SQL和Subsoinc 3 LINQ有什么区别?

I am wondering what is different between LINQ to SQL and Subsoinc 3 LINQ, Which is beneficial?

谢谢! 果酱

推荐答案

如果您还没有阅读此书,则Subsonic站点会详细介绍LinqToSql和Subsonic(以及NHibernate)之间的一些差异.

In case you haven't read this already, the Subsonic site has a pretty lengthy overview of some differences between LinqToSql and Subsonic (and NHibernate).

http://subsonicproject.com/docs/Comparisons

除了技术上的特定差异外,您可能还需要考虑使用开源第三方工具与官方Microsoft产品的含义.每个都有优点和缺点! ;)

Outside of specific differences of the technologies, you may also want to consider the implications of going with an open-source 3rd party tool vs an official Microsoft product. There are pros and cons to each! ;)

这篇关于Subsonic 3 LINQ与LINQ to SQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆