NHibnerate : Handling the Special Cases
Posted by: Karl Seguin [MVP],
on 18 Jun 2009 |
View original | Bookmarked: 0 time(s)
In my last NHibernate post I mentioned that NHibernate is great because it does the heavy lifting for the common tasks that make up 95% of my data access layer, while letting me tweak the remaining 5% as needed.
Let's look at some of the ways you can tweak, or even circumvent NHibernate for those queries that require some extra attention. Do note that there are a lot of different solutions – we're only looking at a few.
The most obvious method is to use named queries and custom SQL...