예제 #1
0
        }                                 //end Appointment()

        public Appointment(net.autotask.webservices.Appointment entity) : base(entity)
        {
            this.CreateDateTime    = entity.CreateDateTime == null ? default(DateTime?) : DateTime.Parse(entity.CreateDateTime.ToString());
            this.CreatorResourceID = entity.CreatorResourceID == null ? default(int?) : int.Parse(entity.CreatorResourceID.ToString());
            this.Description       = entity.Description == null ? default(string) : entity.Description.ToString();
            this.EndDateTime       = DateTime.Parse(entity.EndDateTime.ToString());
            this.ResourceID        = int.Parse(entity.ResourceID.ToString());
            this.StartDateTime     = DateTime.Parse(entity.StartDateTime.ToString());
            this.Title             = entity.Title == null ? default(string) : entity.Title.ToString();
            this.UpdateDateTime    = entity.UpdateDateTime == null ? default(DateTime?) : DateTime.Parse(entity.UpdateDateTime.ToString());
        } //end Appointment(net.autotask.webservices.Appointment entity)
예제 #2
0
        }                                 //end Appointment()

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