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); }
partial void OnSkillChanging(global::Microsoft.Dynamics.DataEntities.Skill value);