开发者

What reference I need to use NHibernate QueryOver?

开发者 https://www.devze.com 2023-02-07 07:47 出处:网络
I can\'t find out what namespace reference is needed to use NHibernate\'s QueryOver? How do you find out this type of things anyway? Is t开发者_运维问答here any searchable documentation where I \"sho

I can't find out what namespace reference is needed to use NHibernate's QueryOver?

How do you find out this type of things anyway? Is t开发者_运维问答here any searchable documentation where I "should have looked"?


You just need a reference to NHibernate (it's a method of ISession). Do note, though, that it's only available starting in NH 3.0.

using NHibernate;

More here.


using NHibernate; 

is the reference that you need to add..

Apart from this I would suggest you try out this amazing tool call Resharper. If you start using it you will never ever work without it believe me.. its the best tool i have used in a year. try the trial version and then think about getting a licence. here is the link Resharper

Enjoy..

0

精彩评论

暂无评论...
验证码 换一张
取 消