本文介绍了关系型数据库和面向对象的语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个典型的ASP.NET Web应用程序的架构,我们使用的是面向对象的语言,如C#和关系数据库如SQL服务器数据。

In a typical ASP.NET web application architecture, we are using a OO language such as C# and a relational database such as SQL server for data.

我正在读一本书的LINQ,上面写着现在的问题是有一个面向对象的编程语言和关系数据库之间的差距

I was reading a book on Linq that said "The problem is there is a gap between a OO programming language and a relational database"

究竟是作者试图意味着什么呢?

What exactly is the author trying to imply?

编辑:感谢您的答案。我不知道我理解LINQ将解决这个问题。我可能是错的,但似乎LINQ是就像ADO.NET数据库通信API

Thanks for the answers. I am not sure I understand how LINQ would solve this problem. I might be wrong but it appears that LINQ is API for database communication just like ADO.NET

推荐答案

他们是非常不同的数据模型和做事方式。这是相当不带季度给出,没有怜悯预计宗教的说法。​​

They are very different data models and ways of doing things. It's quite a religious argument with no quarter given and no mercy expected.

这一切都在这里:对象关系阻抗失配

这篇关于关系型数据库和面向对象的语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 15:52