Ejemplo n.º 1
0
        }                              //end Currency()

        public Currency(net.autotask.webservices.Currency entity) : base(entity)
        {
            this.Active = bool.Parse(entity.Active.ToString());
            this.CurrencyNegativeFormat = entity.CurrencyNegativeFormat == null ? default(string) : entity.CurrencyNegativeFormat.ToString();
            this.CurrencyPositiveFormat = entity.CurrencyPositiveFormat == null ? default(string) : entity.CurrencyPositiveFormat.ToString();
            this.Description            = entity.Description == null ? default(string) : entity.Description.ToString();
            this.DisplaySymbol          = int.Parse(entity.DisplaySymbol.ToString());
            this.ExchangeRate           = decimal.Parse(entity.ExchangeRate.ToString());
            this.IsInternalCurrency     = bool.Parse(entity.IsInternalCurrency.ToString());
            this.Name = entity.Name == null ? default(string) : entity.Name.ToString();
            this.LastModifiedDateTime = entity.LastModifiedDateTime == null ? default(DateTime?) : DateTime.Parse(entity.LastModifiedDateTime.ToString());
            this.UpdateResourceId     = entity.UpdateResourceId == null ? default(int?) : int.Parse(entity.UpdateResourceId.ToString());
        } //end Currency(net.autotask.webservices.Currency entity)
Ejemplo n.º 2
0
        }                              //end Currency()

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