An NHibernateMARE on Elm Street

We use (and generally like) the ORM NHibernate for MS SQL Server data access, but we understand why you might not. Ohhhh, the things we have seen! We’d like to share some of our favorite horrors, so that you can avoid them. Originally, our Repository<TEntity> base class implemented IEnumerable<TEntity>. This allowed us to do clever things… Read More