internal override OperationResult UndoOperation()
 {
     if (removedFrom == null)
     {
         ErrorDescription = CommandError.CMDERR_NULL_ON_UNDO;
         return(OperationResult.Failed);
     }
     DeletedAttribute.PutMeBackToModel();
     return(OperationResult.OK);
 }
 internal override void CommandOperation()
 {
     if (AttributeContainer == null)
     {
         removedFrom = DeletedAttribute.Class;
     }
     else
     {
         removedFrom = AttributeContainer;
     }
     DeletedAttribute.RemoveMeFromModel();
     associatedElements.Add(removedFrom);
 }