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