NHibernate解决什么问题? [英] What problem does NHibernate solve?

查看:62
本文介绍了NHibernate解决什么问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看过一些需要掌握基础知识的工作,以及许多堆积如山的问题.我发现另一个问题使我指向 NHibernate的夏季,我现在正在观看视频.但是,它没有介绍为什么创建NHibernate以及解决什么问题的介绍.通过查看维基百科,我可以模糊地看到它的作用,但是对我来说,.NET似乎已经具有似乎可以完成相同任务的实体框架.

I've seen some jobs that require nhibernate knowledge, as well as numerous questions on stack. I found another question that pointed me to Summer Of NHibernate and I am watching the videos now. However it has no introduction explaining why NHibernate was created and what problem is solves. By looking on wikipedia, I can see vaguely what it does, but to me it looks like .NET already has the entity framework which seems to do the same thing.

任何人都可以弄清为什么nhibernate存在吗?

Can anyone clarify why nhibernate exists?

推荐答案

它解决了与对象关系阻抗不匹配有关的几个问题,提供了一个工作单元的实现,允许一定程度的数据库独立性,并促进了域驱动设计通过促进对持久性的无知,并提供了随着域的发展而生成数据库模式的功能.

It solves several problems related to the object relational impedance mismatch, provides an implementation of a unit of work, allows a measure of database independence , and facilitates domain driven design by facilitating persistence ignorance and providing the ability to generate your db schema as the domain evolves.

因此,它在范围和广度上都是程序的野兽,并且需要一些上面的流行语的知识!实际上,它的作用还不止于此,这就是为什么NHib的Summer是13个奇怪的部分系列的原因,强烈建议继续阅读. 《 NHib in Action》一书也很好.

So it is a beast of a program in scope and breadth, and requires some knowledge of the buzzwords above! It actually does a bit more than that, which is why Summer of NHib is a 13 some odd part series, much recommended to go thru. The book NHib in Action is also very good.

最重要的是,让自己休息一下,并让自己最多有六个星期的时间来全神贯注.

Most important, give yourself a break and allow yourself up to six weeks to take it all in.

HTH,
贝里

HTH,
Berryl

这篇关于NHibernate解决什么问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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