问题描述
我正在开始设计一个新的应用程序,我想知道人们对 Linq2SQL 或 Linq2Entities 的看法,以及他们认为更适合快速开发的技术.
I am starting to design a new application and what I am wondering is peoples opinions on Linq2SQL or Linq2Entities and what they feel is the better technology for rapid development.
我也在研究 ADO.net 数据服务.
I am also doing some research into ADO.net data services.
推荐答案
如果您满足以下设计要求,我是 LINQ to SQL 的忠实粉丝:
I'm a big fan of LINQ to SQL if you meet the following design requirements:
- MS SQL Server 作为数据库引擎
- RAD 开发
- 只需要 1 - 1 个类映射
我没有用 Entity Framework 做过很多工作,但据我所知,我所做的是,当从与 LINQ to SQL 使用的相同数据库生成时,它没有那么好的性能.
I've not done a whole lot of work with Entity Framework but from what I know and what I have done is that it doesn't have as-good performance when generated from the same database as LINQ to SQL uses.
性能较低的原因是实体框架的性质,它使用 ADO 而不是您正在使用的数据库服务器的特定提供程序.
The lower performance is due to the nature of Entity Framework, it uses ADO rather than specific providers for the database server you're using.
这篇关于Linq 2 SQL 或 Linq 实体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)