private void CopyContentFrom(InvoiceEventDetail sourceObject)
 {
     IndentMode = sourceObject.IndentMode;
             EventStartDateTime = sourceObject.EventStartDateTime;
             EventEndDateTime = sourceObject.EventEndDateTime;
             ReceivingParty = sourceObject.ReceivingParty;
             AmountOfUnits = sourceObject.AmountOfUnits;
             Duration = sourceObject.Duration;
             UnitPrice = sourceObject.UnitPrice;
             PriceWithoutTaxes = sourceObject.PriceWithoutTaxes;
             Taxes = sourceObject.Taxes;
             PriceWithTaxes = sourceObject.PriceWithTaxes;
 }
        public static InvoiceEventDetail CreateDemoDefault()
        {
            InvoiceEventDetail customDemo = null;
                    InvoiceEventDetail.CreateCustomDemo(ref customDemo);
                    if(customDemo != null)
                        return customDemo;
                    var result = new InvoiceEventDetail();
                    result.IndentMode = @"InvoiceEventDetail.IndentMode";

                    result.ReceivingParty = @"InvoiceEventDetail.ReceivingParty";

                    result.AmountOfUnits = @"InvoiceEventDetail.AmountOfUnits";

                    result.Duration = @"InvoiceEventDetail.Duration";

                    result.UnitPrice = @"InvoiceEventDetail.UnitPrice";

                    result.PriceWithoutTaxes = @"InvoiceEventDetail.PriceWithoutTaxes";

                    result.Taxes = @"InvoiceEventDetail.Taxes";

                    result.PriceWithTaxes = @"InvoiceEventDetail.PriceWithTaxes";

                    return result;
        }
partial         static void CreateCustomDemo(ref InvoiceEventDetail customDemoObject);
 public static InvoiceEventDetail CreateDefault()
 {
     var result = new InvoiceEventDetail();
             return result;
 }