I would use an in memory sqlite database to test data access, rather than a full database like ms sql or mysql. the tests execute much faster. unless you are db specific features the tests are accurate.
I also do not find much value in abstracting NH away from my code. the likely hood of replacing an ORM are very slim, so trying to design for that proves little value. Then there is the issue of performance tuning. If NH is abstracted away you loose the ability to contextually tweak NH. For while we use NHibernate and I cannot say that we are not happy care to elaborate? NH isn't the easiest framework to use, but once you understand how it's designed to work, it's incredibly powerful. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
