Exemplo n.º 1
0
 public virtual void AssignToSpecChangeHistory(SpecChangeHistory t)
 {
     base.AssignToRevisionedObjectChangeHistory(t);
     t.Operation = this.Operation;
     t.ResourceGroup = this.ResourceGroup;
     t.Setup = this.Setup;
 }
Exemplo n.º 2
0
 public virtual void AssignToSpecChangeHistory(SpecChangeHistory t)
 {
     base.AssignToRevisionedObjectChangeHistory(t);
     t.Operation     = this.Operation;
     t.ResourceGroup = this.ResourceGroup;
     t.Setup         = this.Setup;
 }
Exemplo n.º 3
0
 private bool RecordHistory(RevisionedObject rdo_obj, ActionType actionType)
 {
     Spec o = rdo_obj as Spec;
     SpecChangeHistory h;
     if (actionType == ActionType.Delete)
         h = new SpecChangeHistory(null, this.TxnDate, actionType);
     else
         h = new SpecChangeHistory(rdo_obj, this.TxnDate, actionType);
     o.AssignToSpecChangeHistory(h);
     ObjScope.Transaction.Begin();
     ObjScope.Add(h);
     ObjScope.Transaction.Commit();
     return true;
 }