コード例 #1
0
 public void Add(Estado item)
 {
     using (ISession session = NHibernateHelper.OpenSession())
         using (ITransaction transaction = session.BeginTransaction())
         {
             item.AddBySession(session);
             transaction.Commit();
         }
 }