Created UnitOfWork pattern. Created NHibernate UnitOfWork pattern.