ADO.NET VS实体框架VS LINQ VS .netTiers VS别的东西吗? [英] ADO.NET vs Entity Framework vs LINQ vs .netTiers vs something else?

查看:169
本文介绍了ADO.NET VS实体框架VS LINQ VS .netTiers VS别的东西吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Iэm使得从头开始一个大的OLTP应用程序,我想知道什么是访问数据的最佳方式,就是它 ADO.NET或实体框架或LINQ或.netTiers或别的东西。 我的数据库是SQL Server 2008 R2的。

Iэm making a big OLTP application from scratch,i was wondering what is the best way to access data,is it ADO.NET or Entity Framework or LINQ or .netTiers or something else. My database is SQL Server 2008 R2.

感谢您!

那么NetTiers,怎么神呢?

What about NetTiers,how god is it?

推荐答案

这些天,你应该使用1种的 ORM 或其他适合你的数据访问。

These days, you should use one kind of ORM or another for you data access.

如果你想有一个微软的产品,你应该使用实体框架LINQ2SQL以上(因为后者没有被积极地开发了并处于维护模式)。

If you want a Microsoft product, you should be using Entity Framework over Linq2SQL (as the latter is not being actively developed anymore and is in maintenance mode).

很多人喜欢 NHibernate的,一个开源的ORM是predates LINQ2SQL和几乎所有其他的ORM针对.NET框架。

Many people like nHibernate, an open source ORM that predates Linq2SQL and just about any other ORM for the .NET framework.

这篇关于ADO.NET VS实体框架VS LINQ VS .netTiers VS别的东西吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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