Esempio n. 1
0
        public static JobTemplateExam CreateJobTemplateExam(string jobTemplateId, string testId, global::Microsoft.Dynamics.DataEntities.JobTemplate jobTemplate, global::Microsoft.Dynamics.DataEntities.TestType testType)
        {
            JobTemplateExam jobTemplateExam = new JobTemplateExam();

            jobTemplateExam.JobTemplateId = jobTemplateId;
            jobTemplateExam.TestId        = testId;
            if ((jobTemplate == null))
            {
                throw new global::System.ArgumentNullException("jobTemplate");
            }
            jobTemplateExam.JobTemplate = jobTemplate;
            if ((testType == null))
            {
                throw new global::System.ArgumentNullException("testType");
            }
            jobTemplateExam.TestType = testType;
            return(jobTemplateExam);
        }
Esempio n. 2
0
 partial void OnJobTemplateChanging(global::Microsoft.Dynamics.DataEntities.JobTemplate value);
        public static JobTemplateResponsibility CreateJobTemplateResponsibility(string jobTemplateId, string areaOfResponsibilityId, global::Microsoft.Dynamics.DataEntities.JobTemplate jobTemplate, global::Microsoft.Dynamics.DataEntities.Responsibility responsibility)
        {
            JobTemplateResponsibility jobTemplateResponsibility = new JobTemplateResponsibility();

            jobTemplateResponsibility.JobTemplateId          = jobTemplateId;
            jobTemplateResponsibility.AreaOfResponsibilityId = areaOfResponsibilityId;
            if ((jobTemplate == null))
            {
                throw new global::System.ArgumentNullException("jobTemplate");
            }
            jobTemplateResponsibility.JobTemplate = jobTemplate;
            if ((responsibility == null))
            {
                throw new global::System.ArgumentNullException("responsibility");
            }
            jobTemplateResponsibility.Responsibility = responsibility;
            return(jobTemplateResponsibility);
        }
Esempio n. 4
0
        public static JobTemplateADARequirement CreateJobTemplateADARequirement(string jobTemplateId, global::Microsoft.Dynamics.DataEntities.JobTemplate job)
        {
            JobTemplateADARequirement jobTemplateADARequirement = new JobTemplateADARequirement();

            jobTemplateADARequirement.JobTemplateId = jobTemplateId;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobTemplateADARequirement.Job = job;
            return(jobTemplateADARequirement);
        }
Esempio n. 5
0
        public static JobTemplateScreening CreateJobTemplateScreening(string jobTemplateId, string screeningTypeId, global::Microsoft.Dynamics.DataEntities.ScreeningType screeningType, global::Microsoft.Dynamics.DataEntities.JobTemplate jobTemplate)
        {
            JobTemplateScreening jobTemplateScreening = new JobTemplateScreening();

            jobTemplateScreening.JobTemplateId   = jobTemplateId;
            jobTemplateScreening.ScreeningTypeId = screeningTypeId;
            if ((screeningType == null))
            {
                throw new global::System.ArgumentNullException("screeningType");
            }
            jobTemplateScreening.ScreeningType = screeningType;
            if ((jobTemplate == null))
            {
                throw new global::System.ArgumentNullException("jobTemplate");
            }
            jobTemplateScreening.JobTemplate = jobTemplate;
            return(jobTemplateScreening);
        }
        public static JobTemplateCertificate CreateJobTemplateCertificate(string jobTemplateId, string certificateTypeId, global::Microsoft.Dynamics.DataEntities.CertificateType certificateType, global::Microsoft.Dynamics.DataEntities.JobTemplate jobTemplate)
        {
            JobTemplateCertificate jobTemplateCertificate = new JobTemplateCertificate();

            jobTemplateCertificate.JobTemplateId     = jobTemplateId;
            jobTemplateCertificate.CertificateTypeId = certificateTypeId;
            if ((certificateType == null))
            {
                throw new global::System.ArgumentNullException("certificateType");
            }
            jobTemplateCertificate.CertificateType = certificateType;
            if ((jobTemplate == null))
            {
                throw new global::System.ArgumentNullException("jobTemplate");
            }
            jobTemplateCertificate.JobTemplate = jobTemplate;
            return(jobTemplateCertificate);
        }
        public static JobTemplateTask CreateJobTemplateTask(string jobTemplateId, string jobTaskId, global::Microsoft.Dynamics.DataEntities.JobTemplate jobTemplate, global::Microsoft.Dynamics.DataEntities.JobTask jobTask)
        {
            JobTemplateTask jobTemplateTask = new JobTemplateTask();

            jobTemplateTask.JobTemplateId = jobTemplateId;
            jobTemplateTask.JobTaskId     = jobTaskId;
            if ((jobTemplate == null))
            {
                throw new global::System.ArgumentNullException("jobTemplate");
            }
            jobTemplateTask.JobTemplate = jobTemplate;
            if ((jobTask == null))
            {
                throw new global::System.ArgumentNullException("jobTask");
            }
            jobTemplateTask.JobTask = jobTask;
            return(jobTemplateTask);
        }
Esempio n. 8
0
        public static JobTemplateSkill CreateJobTemplateSkill(string jobTemplateId, string skillId, global::Microsoft.Dynamics.DataEntities.JobTemplate jobTemplate, global::Microsoft.Dynamics.DataEntities.RatingLevel ratingLevel, global::Microsoft.Dynamics.DataEntities.Skill skill)
        {
            JobTemplateSkill jobTemplateSkill = new JobTemplateSkill();

            jobTemplateSkill.JobTemplateId = jobTemplateId;
            jobTemplateSkill.SkillId       = skillId;
            if ((jobTemplate == null))
            {
                throw new global::System.ArgumentNullException("jobTemplate");
            }
            jobTemplateSkill.JobTemplate = jobTemplate;
            if ((ratingLevel == null))
            {
                throw new global::System.ArgumentNullException("ratingLevel");
            }
            jobTemplateSkill.RatingLevel = ratingLevel;
            if ((skill == null))
            {
                throw new global::System.ArgumentNullException("skill");
            }
            jobTemplateSkill.Skill = skill;
            return(jobTemplateSkill);
        }
        public static JobTemplateEducationDiscipline CreateJobTemplateEducationDiscipline(string jobTemplateId, string educationId, global::Microsoft.Dynamics.DataEntities.EducationDiscipline educationDiscipline, global::Microsoft.Dynamics.DataEntities.JobTemplate jobTemplate)
        {
            JobTemplateEducationDiscipline jobTemplateEducationDiscipline = new JobTemplateEducationDiscipline();

            jobTemplateEducationDiscipline.JobTemplateId = jobTemplateId;
            jobTemplateEducationDiscipline.EducationId   = educationId;
            if ((educationDiscipline == null))
            {
                throw new global::System.ArgumentNullException("educationDiscipline");
            }
            jobTemplateEducationDiscipline.EducationDiscipline = educationDiscipline;
            if ((jobTemplate == null))
            {
                throw new global::System.ArgumentNullException("jobTemplate");
            }
            jobTemplateEducationDiscipline.JobTemplate = jobTemplate;
            return(jobTemplateEducationDiscipline);
        }