Пример #1
0
        }                                  //end ContractNote()

        public ContractNote(net.autotask.webservices.ContractNote entity) : base(entity)
        {
            this.ContractID        = entity.ContractID == null ? default(string) : entity.ContractID.ToString();
            this.CreatorResourceID = entity.CreatorResourceID == null ? default(int?) : int.Parse(entity.CreatorResourceID.ToString());
            this.Description       = entity.Description == null ? default(string) : entity.Description.ToString();
            this.LastActivityDate  = entity.LastActivityDate == null ? default(DateTime?) : DateTime.Parse(entity.LastActivityDate.ToString());
            this.Title             = entity.Title == null ? default(string) : entity.Title.ToString();
        } //end ContractNote(net.autotask.webservices.ContractNote entity)
Пример #2
0
        }                                  //end ContractNote()

        public ContractNote(net.autotask.webservices.ContractNote entity) : base(entity)
        {
            id                = entity.id;
            ContractID        = entity.ContractID?.ToString();
            Description       = entity.Description?.ToString();
            CreatorResourceID = entity.CreatorResourceID == null ? (int?)null : int.Parse(entity.CreatorResourceID.ToString());
            LastActivityDate  = entity.LastActivityDate == null ? (DateTime?)null : DateTime.Parse(entity.LastActivityDate.ToString());
            Title             = entity.Title?.ToString();
            UserDefinedFields = entity.UserDefinedFields?.Select(udf => new UserDefinedField {
                Name = udf.Name, Value = udf.Value
            }).ToList();
        } //end ContractNote(net.autotask.webservices.ContractNote entity)
Пример #3
0
        }                                  //end ContractNote()

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