public virtual void Delete(APersistenceObject obj)
 {
 }
 public virtual void Save(APersistenceObject obj)
 {
 }
Example #3
0
 public override void Refresh(APersistenceObject obj)
 {
     obj.Load();
 }
Example #4
0
 public override void Commit(APersistenceObject persistenceObject)
 {
     PersistenceFacade.GetInstance().Delete(persistenceObject);
     persistenceObject.PreviousState = this;
     persistenceObject.State         = DeletedState.GetInstance();
 }
Example #5
0
 public override void Delete(APersistenceObject obj)
 {
     obj.PreviousState = this;
     obj.State         = OldDeleteState.GetInstance();
 }
Example #6
0
 public override void Commit(APersistenceObject persistenceObject)
 {
     PersistenceFacade.GetInstance().Insert(persistenceObject);
     persistenceObject.PreviousState = this;
     persistenceObject.State         = OldCleanState.GetInstance();
 }
Example #7
0
 public override void FieldDataChange(APersistenceObject obj)
 {
     obj.PreviousState = this;
     obj.State         = OldDirtyState.GetInstance();
 }