void IInformationObject.SetInstanceTreeValuesAsUnmodified() { _unmodified_GroupName = GroupName; _unmodified_GroupTotalPriceWithoutTaxes = GroupTotalPriceWithoutTaxes; _unmodified_GroupTotalTaxes = GroupTotalTaxes; _unmodified_GroupTotalPriceWithTaxes = GroupTotalPriceWithTaxes; _unmodified_InvoiceRowCollection = InvoiceRowCollection; if(InvoiceRowCollection != null) ((IInformationObject) InvoiceRowCollection).SetInstanceTreeValuesAsUnmodified(); }
private void CopyContentFrom(InvoiceRowCollection sourceObject) { CollectionContent = sourceObject.CollectionContent; _unmodified_CollectionContent = sourceObject._unmodified_CollectionContent; }
public static InvoiceRowCollection CreateDemoDefault() { InvoiceRowCollection customDemo = null; InvoiceRowCollection.CreateCustomDemo(ref customDemo); if(customDemo != null) return customDemo; var result = new InvoiceRowCollection(); result.CollectionContent.Add(InvoiceRow.CreateDemoDefault()); //result.CollectionContent.Add(InvoiceRow.CreateDemoDefault()); //result.CollectionContent.Add(InvoiceRow.CreateDemoDefault()); return result; }
partial static void CreateCustomDemo(ref InvoiceRowCollection customDemoObject);
public static InvoiceRowCollection CreateDefault() { var result = new InvoiceRowCollection(); return result; }