Hi,
I want to abstract the use of NHibernate so that there is loose coupling with NHibernate.
I have found the NHibernateRepository (
http://www.arcware.net/archive/2006/11/ ... itory.aspx) to be a good starting point which could provide the kind of abstraction I am looking at.
However, there is no abstraction for the ICriteria which would be the major part of my querying mechanism.
Can anybody give some ideas as to how the abstraction for the ICriteria could be achieved?
Are there any other alternatives to the NHibernateRepository?
Thanks in advance for you suggestions.
Regards,
Indrajeet