} //end Phase() public Phase(net.autotask.webservices.Phase entity) : base(entity) { this.ProjectID = int.Parse(entity.ProjectID.ToString()); this.Title = entity.Title == null ? default(string) : entity.Title.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.DueDate = entity.DueDate == null ? default(DateTime?) : DateTime.Parse(entity.DueDate.ToString()); this.EstimatedHours = float.Parse(entity.EstimatedHours.ToString()); this.ExternalID = entity.ExternalID == null ? default(string) : entity.ExternalID.ToString(); this.LastActivityDateTime = entity.LastActivityDateTime == null ? default(DateTime?) : DateTime.Parse(entity.LastActivityDateTime.ToString()); this.ParentPhaseID = entity.ParentPhaseID == null ? default(int?) : int.Parse(entity.ParentPhaseID.ToString()); this.PhaseNumber = entity.PhaseNumber == null ? default(string) : entity.PhaseNumber.ToString(); this.Scheduled = entity.Scheduled == null ? default(bool?) : bool.Parse(entity.Scheduled.ToString()); this.StartDate = entity.StartDate == null ? default(DateTime?) : DateTime.Parse(entity.StartDate.ToString()); } //end Phase(net.autotask.webservices.Phase entity)
} //end Phase() public Phase(net.autotask.webservices.Phase entity) : base(entity) { } //end Phase(net.autotask.webservices.Phase entity)