void IInformationObject.SetInstanceTreeValuesAsUnmodified() { _unmodified_UserName = UserName; _unmodified_UserID = UserID; _unmodified_UserPhoneNumber = UserPhoneNumber; _unmodified_UserSubscriptionNumber = UserSubscriptionNumber; _unmodified_UserInvoiceTotalAmount = UserInvoiceTotalAmount; _unmodified_InvoiceRowGroupCollection = InvoiceRowGroupCollection; if(InvoiceRowGroupCollection != null) ((IInformationObject) InvoiceRowGroupCollection).SetInstanceTreeValuesAsUnmodified(); _unmodified_InvoiceEventDetailGroupCollection = InvoiceEventDetailGroupCollection; if(InvoiceEventDetailGroupCollection != null) ((IInformationObject) InvoiceEventDetailGroupCollection).SetInstanceTreeValuesAsUnmodified(); }
private void CopyContentFrom(InvoiceEventDetailGroupCollection sourceObject) { CollectionContent = sourceObject.CollectionContent; _unmodified_CollectionContent = sourceObject._unmodified_CollectionContent; }
public static InvoiceEventDetailGroupCollection CreateDemoDefault() { InvoiceEventDetailGroupCollection customDemo = null; InvoiceEventDetailGroupCollection.CreateCustomDemo(ref customDemo); if(customDemo != null) return customDemo; var result = new InvoiceEventDetailGroupCollection(); result.CollectionContent.Add(InvoiceEventDetailGroup.CreateDemoDefault()); //result.CollectionContent.Add(InvoiceEventDetailGroup.CreateDemoDefault()); //result.CollectionContent.Add(InvoiceEventDetailGroup.CreateDemoDefault()); return result; }
partial static void CreateCustomDemo(ref InvoiceEventDetailGroupCollection customDemoObject);
public static InvoiceEventDetailGroupCollection CreateDefault() { var result = new InvoiceEventDetailGroupCollection(); return result; }