在NHibernate或Vice Versa之前学习SubSonic? [英] Learn SubSonic before NHibernate or Vice Versa?

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

问题描述

我们在我们公司的项目中一直使用自己的DAL,对于已通过的2个项目,这给我们带来了麻烦.因此,我想研究SubSonic和/或NHibernate.首先学习SubSonic还是NHibernate更好?优点/缺点是什么?根据我从相关问题中所读到的内容,与SubSonic相比,NHibernate更为复杂,因此我想从后者开始.

We've been using our own DAL for our projects in our company and for the passed 2 projects this has causing us problems. Because of this I want to study SubSonic and/or NHibernate. Is it better to study SubSonic first or NHibernate? What are the advantages/disadvantages? From what I have read from related questions here NHibernate is more complex compared to SubSonic so I want to start with the latter.

推荐答案

SubSonic比NHibernate容易得多,您几乎可以立即开始使用它(很少有截屏视频,您已经完成了).在NHibernate中,您需要做更多的工作-XML配置,会话处理等.因此,如果您不熟悉ORM,请先学习SubSonic,然后再深入研究NHibernate.我个人认为,对于小型项目,您甚至可以高兴地得到SubSonic:)

SubSonic is significantly easier than NHibernate, you can start working with it almost immediately (few screencasts and you're done). In NHibernate you need some more work to start up – XML config, Session handling and such stuff. So if you are new to ORM, learn SubSonic first, and then delve into NHibernate. Personally I think for small projects you can even happily end up with SubSonic :)

这篇关于在NHibernate或Vice Versa之前学习SubSonic?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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