private void CopyContentFrom(InvoiceRow sourceObject)
 {
     ReferenceToInformation = sourceObject.ReferenceToInformation;
             IndentMode = sourceObject.IndentMode;
             AmountOfUnits = sourceObject.AmountOfUnits;
             Duration = sourceObject.Duration;
             UnitPrice = sourceObject.UnitPrice;
             PriceWithoutTaxes = sourceObject.PriceWithoutTaxes;
             Taxes = sourceObject.Taxes;
             PriceWithTaxes = sourceObject.PriceWithTaxes;
 }
partial         static void CreateCustomDemo(ref InvoiceRow customDemoObject);
 public static InvoiceRow CreateDefault()
 {
     var result = new InvoiceRow();
             result.ReferenceToInformation = ReferenceToInformation.CreateDefault();
             return result;
 }
        public static InvoiceRow CreateDemoDefault()
        {
            InvoiceRow customDemo = null;
                    InvoiceRow.CreateCustomDemo(ref customDemo);
                    if(customDemo != null)
                        return customDemo;
                    var result = new InvoiceRow();
                    result.ReferenceToInformation = ReferenceToInformation.CreateDemoDefault();
                    result.IndentMode = @"InvoiceRow.IndentMode";

                    result.AmountOfUnits = @"InvoiceRow.AmountOfUnits";

                    result.Duration = @"InvoiceRow.Duration";

                    result.UnitPrice = @"InvoiceRow.UnitPrice";

                    result.PriceWithoutTaxes = @"InvoiceRow.PriceWithoutTaxes";

                    result.Taxes = @"InvoiceRow.Taxes";

                    result.PriceWithTaxes = @"InvoiceRow.PriceWithTaxes";

                    return result;
        }
 public static InvoiceRow CreateDefault()
 {
     var result = new InvoiceRow();
             return result;
 }