public static JobDetail CreateJobDetail(string jobId,
                                                global::System.DateTimeOffset validFrom,
                                                global::System.DateTimeOffset validTo,
                                                decimal marketPriceHighThreshold,
                                                decimal marketPriceLowThreshold,
                                                decimal marketPriceControlPoint,
                                                decimal fullTimeEquivalent,
                                                global::Microsoft.Dynamics.DataEntities.Job job)
        {
            JobDetail jobDetail = new JobDetail();

            jobDetail.JobId     = jobId;
            jobDetail.ValidFrom = validFrom;
            jobDetail.ValidTo   = validTo;
            jobDetail.MarketPriceHighThreshold = marketPriceHighThreshold;
            jobDetail.MarketPriceLowThreshold  = marketPriceLowThreshold;
            jobDetail.MarketPriceControlPoint  = marketPriceControlPoint;
            jobDetail.FullTimeEquivalent       = fullTimeEquivalent;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobDetail.Job = job;
            return(jobDetail);
        }
        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 JobADARequirement CreateJobADARequirement(string jobId, global::Microsoft.Dynamics.DataEntities.Job job)
        {
            JobADARequirement jobADARequirement = new JobADARequirement();

            jobADARequirement.JobId = jobId;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobADARequirement.Job = job;
            return(jobADARequirement);
        }
Esempio n. 4
0
 partial void OnJobChanging(global::Microsoft.Dynamics.DataEntities.Job value);
Esempio n. 5
0
        public static JobPreferredScreening CreateJobPreferredScreening(string jobId, string screeningTypeId, global::Microsoft.Dynamics.DataEntities.Job job, global::Microsoft.Dynamics.DataEntities.ScreeningType screeningType)
        {
            JobPreferredScreening jobPreferredScreening = new JobPreferredScreening();

            jobPreferredScreening.JobId           = jobId;
            jobPreferredScreening.ScreeningTypeId = screeningTypeId;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobPreferredScreening.Job = job;
            if ((screeningType == null))
            {
                throw new global::System.ArgumentNullException("screeningType");
            }
            jobPreferredScreening.ScreeningType = screeningType;
            return(jobPreferredScreening);
        }
        public static JobPreferredCertificate CreateJobPreferredCertificate(string jobId, string certificateTypeId, global::Microsoft.Dynamics.DataEntities.CertificateType certificateType, global::Microsoft.Dynamics.DataEntities.Job job)
        {
            JobPreferredCertificate jobPreferredCertificate = new JobPreferredCertificate();

            jobPreferredCertificate.JobId             = jobId;
            jobPreferredCertificate.CertificateTypeId = certificateTypeId;
            if ((certificateType == null))
            {
                throw new global::System.ArgumentNullException("certificateType");
            }
            jobPreferredCertificate.CertificateType = certificateType;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobPreferredCertificate.Job = job;
            return(jobPreferredCertificate);
        }
        public static JobResponsibility CreateJobResponsibility(string jobId, string areaOfResponsibilityId, global::Microsoft.Dynamics.DataEntities.Job job, global::Microsoft.Dynamics.DataEntities.Responsibility responsibility)
        {
            JobResponsibility jobResponsibility = new JobResponsibility();

            jobResponsibility.JobId = jobId;
            jobResponsibility.AreaOfResponsibilityId = areaOfResponsibilityId;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobResponsibility.Job = job;
            if ((responsibility == null))
            {
                throw new global::System.ArgumentNullException("responsibility");
            }
            jobResponsibility.Responsibility = responsibility;
            return(jobResponsibility);
        }
Esempio n. 8
0
        public static JobPreferredExam CreateJobPreferredExam(string jobId, string testId, global::Microsoft.Dynamics.DataEntities.Job job, global::Microsoft.Dynamics.DataEntities.TestType testType)
        {
            JobPreferredExam jobPreferredExam = new JobPreferredExam();

            jobPreferredExam.JobId  = jobId;
            jobPreferredExam.TestId = testId;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobPreferredExam.Job = job;
            if ((testType == null))
            {
                throw new global::System.ArgumentNullException("testType");
            }
            jobPreferredExam.TestType = testType;
            return(jobPreferredExam);
        }
Esempio n. 9
0
        public static JobPreferredEducationDiscipline CreateJobPreferredEducationDiscipline(string jobId, string educationId, global::Microsoft.Dynamics.DataEntities.EducationDiscipline educationDiscipline, global::Microsoft.Dynamics.DataEntities.Job job)
        {
            JobPreferredEducationDiscipline jobPreferredEducationDiscipline = new JobPreferredEducationDiscipline();

            jobPreferredEducationDiscipline.JobId       = jobId;
            jobPreferredEducationDiscipline.EducationId = educationId;
            if ((educationDiscipline == null))
            {
                throw new global::System.ArgumentNullException("educationDiscipline");
            }
            jobPreferredEducationDiscipline.EducationDiscipline = educationDiscipline;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobPreferredEducationDiscipline.Job = job;
            return(jobPreferredEducationDiscipline);
        }
        public static JobTaskAssignment CreateJobTaskAssignment(string jobId, string jobTaskId, global::Microsoft.Dynamics.DataEntities.Job job, global::Microsoft.Dynamics.DataEntities.JobTask jobTask)
        {
            JobTaskAssignment jobTaskAssignment = new JobTaskAssignment();

            jobTaskAssignment.JobId     = jobId;
            jobTaskAssignment.JobTaskId = jobTaskId;
            if ((job == null))
            {
                throw new global::System.ArgumentNullException("job");
            }
            jobTaskAssignment.Job = job;
            if ((jobTask == null))
            {
                throw new global::System.ArgumentNullException("jobTask");
            }
            jobTaskAssignment.JobTask = jobTask;
            return(jobTaskAssignment);
        }