예제 #1
0
 public void AddTransactionSet(EDIXmlTransactionSet ts)
 {
     if (Label != SegmentLabel.GroupLabel.Text)
     {
         throw new Exception("Cannot add a transaction set to this object!");
     }
     base.Add(ts);
 }
예제 #2
0
        public void AddContent(EDIXmlTransactionSet transactionSet)
        {
            IEnumerable <XElement> ediFunctionGroups = this.EDIFunctionGroups();

            if (ediFunctionGroups == null)
            {
                throw new ApplicationException("Function Group has not been set.");
            }

            XElement first = ediFunctionGroups.First();

            if (first == null)
            {
                throw new ApplicationException("No Function Group found in list.");
            }

            first.Add(transactionSet);
        }
 public void AddTo(EDIXmlTransactionSet transactionSet)
 {
     transactionSet.AddLoop(Root);
 }
예제 #4
0
 public void AddTo(EDIXmlTransactionSet transactionSet)
 {
     transactionSet.AddLoop(Root);
 }