Пример #1
0
        private void appendDestinationWithNewEnvelope(OldFFDBDataSet.EnvelopeRow sourceEnvelope)
        {
            if (sourceEnvelope.id <= 0)
            {
                handleSpecialEnvelope(sourceEnvelope);
            }

            else
            {
                EnvelopeDRM newEnvelope = new EnvelopeDRM();

                newEnvelope.Name    = sourceEnvelope.name;
                newEnvelope.GroupID = envelopeGroupMerger.getDestinationIdFromSourceId(sourceEnvelope.groupID);
                newEnvelope.Closed  = sourceEnvelope.closed;

                sourceToDestinationID.Add(sourceEnvelope.id, newEnvelope.ID);
            }
        }
Пример #2
0
 private void handleSpecialEnvelope(OldFFDBDataSet.EnvelopeRow Envelope)
 {
     sourceToDestinationID.Add(Envelope.id, Envelope.id);
 }