我正在开始设计一个新的应用程序,我想知道人们对 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:
我没有用 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模板网!