コード例 #1
0
 private void CopyContentFrom(InvoiceUserCollection sourceObject)
 {
     CollectionContent = sourceObject.CollectionContent;
             _unmodified_CollectionContent = sourceObject._unmodified_CollectionContent;
 }
コード例 #2
0
partial         static void CreateCustomDemo(ref InvoiceUserCollection customDemoObject);
コード例 #3
0
 public static InvoiceUserCollection CreateDefault()
 {
     var result = new InvoiceUserCollection();
             return result;
 }
コード例 #4
0
 public static InvoiceUserCollection CreateDemoDefault()
 {
     InvoiceUserCollection customDemo = null;
             InvoiceUserCollection.CreateCustomDemo(ref customDemo);
             if(customDemo != null)
                 return customDemo;
             var result = new InvoiceUserCollection();
             result.CollectionContent.Add(InvoiceUser.CreateDemoDefault());
             //result.CollectionContent.Add(InvoiceUser.CreateDemoDefault());
             //result.CollectionContent.Add(InvoiceUser.CreateDemoDefault());
             return result;
 }
コード例 #5
0
        void IInformationObject.SetInstanceTreeValuesAsUnmodified()
        {
            _unmodified_InvoiceName = InvoiceName;
                    _unmodified_InvoiceID = InvoiceID;
                    _unmodified_InvoicedAmount = InvoicedAmount;
                    _unmodified_CreateDate = CreateDate;
                    _unmodified_DueDate = DueDate;
                    _unmodified_PaidAmount = PaidAmount;
                    _unmodified_FeesAndInterestAmount = FeesAndInterestAmount;
                    _unmodified_UnpaidAmount = UnpaidAmount;

                    _unmodified_ReferenceToInformation = ReferenceToInformation;
                    if(ReferenceToInformation != null)
                        ((IInformationObject) ReferenceToInformation).SetInstanceTreeValuesAsUnmodified();

                    _unmodified_InvoiceDetails = InvoiceDetails;
                    if(InvoiceDetails != null)
                        ((IInformationObject) InvoiceDetails).SetInstanceTreeValuesAsUnmodified();

                    _unmodified_InvoiceUsers = InvoiceUsers;
                    if(InvoiceUsers != null)
                        ((IInformationObject) InvoiceUsers).SetInstanceTreeValuesAsUnmodified();
        }