Exemplo n.º 1
0
 public void Add(Person person)
 {
     using (ISession session = NHibernateHelper.OpenSession())
     using (ITransaction transaction = session.BeginTransaction())
     {
         session.Save(person);
         transaction.Commit();
     }
 }
Exemplo n.º 2
0
 public void Update(Person person)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 3
0
 public void Remove(Person person)
 {
     throw new NotImplementedException();
 }