public void Add(Usuario item) { using (ISession session = NHibernateHelper.OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { item.AddBySession(session); transaction.Commit(); } }