public void Add(Person person) { using (ISession session = NHibernateHelper.OpenSession()) using (ITransaction transaction = session.BeginTransaction()) { session.Save(person); transaction.Commit(); } }
public void Update(Person person) { throw new NotImplementedException(); }
public void Remove(Person person) { throw new NotImplementedException(); }