What reference I need to use NHibernate QueryOver?
-
26-10-2019 - |
Question
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 there any searchable documentation where I "should have looked"?
Solution
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.
OTHER TIPS
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..
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow