I\'m new to NHibernate and not very good at C#, but I\'m learning. I have a DataProvider
class which provides data for my application using NHibernate 3. It\'s stru
The answer to your question is Absolutely Yes! This is what generics are meant for.
You are in the right way.
This argument is really too long to discuss here but you can find a lot of usefull info in this article:
http://www.codeproject.com/KB/architecture/NHibernateBestPractices.aspx
It helps me a lot to create my generic nhibernate Dao