ADO.net 之后的下一步是什么

发布于 2024-09-30 03:48:43 字数 239 浏览 2 评论 0 原文

我自 2002/2003 年以来一直在使用 ADO.net,到目前为止我开发的大多数应用程序都使用 ADO.net(我确实在应用程序中使用业务对象,但底层数据访问是通过 ADO.net 进行的)

问题:什么是/将会是什么假设您使用 .net 框架和 SQL Server,这会是数据访问技术的下一个范例吗?

我听说过 LINQ 和实体框架,但不确定 LINQ 或至少不确定它的未来?

任何建议以及推荐书籍将不胜感激。

I have been using ADO.net since 2002/2003 and most of the application I have developed so far use ADO.net (I do use business objects in my application but underlying data access is through ADO.net)

Question: What is/will be next paradigm of data access technology assuming you are using .net framework and SQL Server?

I am hearing LINQ and Entity Framework but not sure about LINQ or at least its future?

Any advice along with a recommended book will be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

戴着白色围巾的女孩 2024-10-07 03:48:43

对象关系映射可能是继 ADO.NET 之后数据访问技术的下一个范例,尽管您可以说它已经相当成熟。尽管实体框架仍然相当新,NHibernate 已经存在了好几年了,而它的 Java 前身自 2001 年起就出现了。

如果您正在寻找一本关于 NHibernate 和对象关系映射的好书,那么 NHibernate in Action 很好。它非常易读,第一章(可作为免费示例提供)涵盖了 ORM 背后的基本原理以及 NHibernate 与 LINQ 等其他技术之间的比较。

Object relational mapping is perhaps the next paradigm for data access technology after ADO.NET, although you could say that its already pretty well established. Although Entity Framework is still fairly new NHibernate has been around for several years, and its Java predecessor since 2001.

If you are looking for a good book about NHibernate and object relational mapping in general then NHibernate in Action is good. Its very readable and the first chapter, which is available as a free sample, covers the rationale behind ORM as well as comparisons between NHibernate and other technologies like LINQ.

独留℉清风醉 2024-10-07 03:48:43

LINQ 将会继续存在,我认为您指的是 LINQ to SQL,虽然 Microsoft 没有积极开发它,但它仍然存在,但是 Microsoft 非常明确地表明 EF 是未来。

LINQ is here to stay, what I think you are referring to is LINQ to SQL which while not being very actively developed by Microsoft, is still alive however Microsoft are making it fairly clear that EF is the future.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文