コード例 #1
0
 protected void PersistEntity(PersistentObject entity)
 {
     using (ISession session = GetSession())
     {
         session.SaveOrUpdate(entity);
         session.Flush();
     }
 }
コード例 #2
0
 public DataSelfDeletingOnDisposalContext(DataCreationHelper creationHelper, PersistentObject[] entities)
 {
     this.creationHelper = creationHelper;
     this.entities = entities;
 }