public static JobPreferredSkill CreateJobPreferredSkill(string jobId, string skillId, global::Microsoft.Dynamics.DataEntities.RatingModel ratingModel, global::Microsoft.Dynamics.DataEntities.Job job, global::Microsoft.Dynamics.DataEntities.RatingLevel ratingLevel, global::Microsoft.Dynamics.DataEntities.Skill skill) { JobPreferredSkill jobPreferredSkill = new JobPreferredSkill(); jobPreferredSkill.JobId = jobId; jobPreferredSkill.SkillId = skillId; if ((ratingModel == null)) { throw new global::System.ArgumentNullException("ratingModel"); } jobPreferredSkill.RatingModel = ratingModel; if ((job == null)) { throw new global::System.ArgumentNullException("job"); } jobPreferredSkill.Job = job; if ((ratingLevel == null)) { throw new global::System.ArgumentNullException("ratingLevel"); } jobPreferredSkill.RatingLevel = ratingLevel; if ((skill == null)) { throw new global::System.ArgumentNullException("skill"); } jobPreferredSkill.Skill = skill; return(jobPreferredSkill); }
public static CourseTypeSkillProfile CreateCourseTypeSkillProfile(string courseTypeId, string skillId, global::Microsoft.Dynamics.DataEntities.RatingModel ratingModel, global::Microsoft.Dynamics.DataEntities.CourseType courseType, global::Microsoft.Dynamics.DataEntities.RatingLevel ratingLevel, global::Microsoft.Dynamics.DataEntities.Skill skill) { CourseTypeSkillProfile courseTypeSkillProfile = new CourseTypeSkillProfile(); courseTypeSkillProfile.CourseTypeId = courseTypeId; courseTypeSkillProfile.SkillId = skillId; if ((ratingModel == null)) { throw new global::System.ArgumentNullException("ratingModel"); } courseTypeSkillProfile.RatingModel = ratingModel; if ((courseType == null)) { throw new global::System.ArgumentNullException("courseType"); } courseTypeSkillProfile.CourseType = courseType; if ((ratingLevel == null)) { throw new global::System.ArgumentNullException("ratingLevel"); } courseTypeSkillProfile.RatingLevel = ratingLevel; if ((skill == null)) { throw new global::System.ArgumentNullException("skill"); } courseTypeSkillProfile.Skill = skill; return(courseTypeSkillProfile); }
public static PersonSkill CreatePersonSkill(string partyNumber, string skillId, global::System.DateTimeOffset levelDate, decimal yearsOfExperience, global::Microsoft.Dynamics.DataEntities.Person person, global::Microsoft.Dynamics.DataEntities.RatingLevel ratingLevel, global::Microsoft.Dynamics.DataEntities.Skill skill) { PersonSkill personSkill = new PersonSkill(); personSkill.PartyNumber = partyNumber; personSkill.SkillId = skillId; personSkill.LevelDate = levelDate; personSkill.YearsOfExperience = yearsOfExperience; if ((person == null)) { throw new global::System.ArgumentNullException("person"); } personSkill.Person = person; if ((ratingLevel == null)) { throw new global::System.ArgumentNullException("ratingLevel"); } personSkill.RatingLevel = ratingLevel; if ((skill == null)) { throw new global::System.ArgumentNullException("skill"); } personSkill.Skill = skill; return(personSkill); }
public static Discussion CreateDiscussion(string discussion1, string personnelNumber, global::System.DateTimeOffset finishedDate, global::System.DateTimeOffset startDate, global::System.DateTimeOffset endDate, global::Microsoft.Dynamics.DataEntities.PerfPeriod perfPeriod, global::Microsoft.Dynamics.DataEntities.RatingLevel ratingLevel, global::Microsoft.Dynamics.DataEntities.Worker worker, global::Microsoft.Dynamics.DataEntities.DiscussionType hcmDiscussionType) { Discussion discussion = new Discussion(); discussion.Discussion1 = discussion1; discussion.PersonnelNumber = personnelNumber; discussion.FinishedDate = finishedDate; discussion.StartDate = startDate; discussion.EndDate = endDate; if ((perfPeriod == null)) { throw new global::System.ArgumentNullException("perfPeriod"); } discussion.PerfPeriod = perfPeriod; if ((ratingLevel == null)) { throw new global::System.ArgumentNullException("ratingLevel"); } discussion.RatingLevel = ratingLevel; if ((worker == null)) { throw new global::System.ArgumentNullException("worker"); } discussion.Worker = worker; if ((hcmDiscussionType == null)) { throw new global::System.ArgumentNullException("hcmDiscussionType"); } discussion.HcmDiscussionType = hcmDiscussionType; return(discussion); }
partial void OnRatingLevelChanging(global::Microsoft.Dynamics.DataEntities.RatingLevel value);