Exemplo n.º 1
0
        }                                       //end ContractMilestone()

        public ContractMilestone(net.autotask.webservices.ContractMilestone entity) : base(entity)
        {
            this.Amount                 = double.Parse(entity.Amount.ToString());
            this.ContractID             = int.Parse(entity.ContractID.ToString());
            this.DateDue                = DateTime.Parse(entity.DateDue.ToString());
            this.IsInitialPayment       = bool.Parse(entity.IsInitialPayment.ToString());
            this.Status                 = int.Parse(entity.Status.ToString());
            this.Title                  = entity.Title == null ? default(string) : entity.Title.ToString();
            this.AllocationCodeID       = entity.AllocationCodeID == null ? default(int?) : int.Parse(entity.AllocationCodeID.ToString());
            this.CreateDate             = entity.CreateDate == null ? default(DateTime?) : DateTime.Parse(entity.CreateDate.ToString());
            this.CreatorResourceID      = entity.CreatorResourceID == null ? default(int?) : int.Parse(entity.CreatorResourceID.ToString());
            this.Description            = entity.Description == null ? default(string) : entity.Description.ToString();
            this.InternalCurrencyAmount = double.Parse(entity.InternalCurrencyAmount.ToString());
        } //end Account(net.autotask.webservices.Account entity)
Exemplo n.º 2
0
        }                                       //end ContractMilestone()

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