Пример #1
0
 public QuoteTemplate() : base() { } //end QuoteTemplate()
 public QuoteTemplate(net.autotask.webservices.QuoteTemplate entity) : base(entity)
 {
     this.Active = entity.Active == null ? default(bool?) : bool.Parse(entity.Active.ToString());
     this.CalculateTaxSeparately = entity.CalculateTaxSeparately == null ? default(bool?) : bool.Parse(entity.CalculateTaxSeparately.ToString());
     this.CreateDate = entity.CreateDate == null ? default(DateTime?) : DateTime.Parse(entity.CreateDate.ToString());
     this.CreatedBy = entity.CreatedBy == null ? default(int?) : int.Parse(entity.CreatedBy.ToString());
     this.CurrencyNegativeFormat = entity.CurrencyNegativeFormat == null ? default(string) : entity.CurrencyNegativeFormat.ToString());
     this.CurrencyPositiveFormat = entity.CurrencyPositiveFormat == null ? default(string) : entity.CurrencyPositiveFormat.ToString());
     this.DateFormat = entity.DateFormat == null ? default(int?) : int.Parse(entity.DateFormat.ToString());
     this.Description = entity.Description == null ? default(string) : entity.Description.ToString());
     this.DisplayCurrencySymbol = entity.DisplayCurrencySymbol == null ? default(int?) : int.Parse(entity.DisplayCurrencySymbol.ToString());
     this.DisplayTaxCategorySuperscripts = entity.DisplayTaxCategorySuperscripts == null ? default(bool?) : bool.Parse(entity.DisplayTaxCategorySuperscripts.ToString());
     this.LastActivityBy = entity.LastActivityBy == null ? default(int?) : int.Parse(entity.LastActivityBy.ToString());
     this.LastActivityDate = entity.LastActivityDate == null ? default(DateTime?) : DateTime.Parse(entity.LastActivityDate.ToString());
     this.NumberFormat = entity.NumberFormat == null ? default(int?) : int.Parse(entity.NumberFormat.ToString());
     this.PageLayout = entity.PageLayout == null ? default(int?) : int.Parse(entity.PageLayout.ToString());
     this.PageNumberFormat = entity.PageNumberFormat == null ? default(int?) : int.Parse(entity.PageNumberFormat.ToString());
     this.ShowEachTaxInGroup = entity.ShowEachTaxInGroup == null ? default(bool?) : bool.Parse(entity.ShowEachTaxInGroup.ToString());
     this.ShowGridHeader = entity.ShowGridHeader == null ? default(bool?) : bool.Parse(entity.ShowGridHeader.ToString());
     this.ShowTaxCategory = entity.ShowTaxCategory == null ? default(bool?) : bool.Parse(entity.ShowTaxCategory.ToString());
     this.ShowVerticalGridLines = entity.ShowVerticalGridLines == null ? default(bool?) : bool.Parse(entity.ShowVerticalGridLines.ToString());
 } //end QuoteTemplate(net.autotask.webservices.QuoteTemplate entity)
Пример #2
0
        }                                   //end QuoteTemplate()

        public QuoteTemplate(net.autotask.webservices.QuoteTemplate entity) : base(entity)
        {
        } //end QuoteTemplate(net.autotask.webservices.QuoteTemplate entity)