Esempio n. 1
0
        public override void SetAlternateVersion(IBusinessObject alternate)
        {
            base.SetAlternateVersion(alternate);

            ComplaintDocument alternateDocument = (ComplaintDocument)alternate;

            if (this.Lines != null)
            {
                this.Lines.SetAlternateVersion(alternateDocument.Lines);
            }
        }
Esempio n. 2
0
        public override ComplaintDocumentLine CreateNew()
        {
            ComplaintDocument parent = (ComplaintDocument)this.Parent;

            //create new object and attach it to the element
            ComplaintDocumentLine line = new ComplaintDocumentLine(parent);

            line.Order = this.Children.Count + 1;

            //add object to the collection
            this.Children.Add(line);

            return(line);
        }
Esempio n. 3
0
 public ComplaintDocumentLine(ComplaintDocument parent)
     : base(parent, BusinessObjectType.ComplaintDocumentLine)
 {
     this.ComplaintDecisions = new ComplaintDecisions(this);
 }
Esempio n. 4
0
 public ComplaintDocumentLines(ComplaintDocument parent)
     : base(parent, "line")
 {
 }