partial void DeleteJobRequirement(JobRequirement instance);
 partial void UpdateJobRequirement(JobRequirement instance);
 partial void InsertJobRequirement(JobRequirement instance);
		private void detach_JobRequirements(JobRequirement entity)
		{
			this.SendPropertyChanging();
			entity.Skill = null;
		}
		private void attach_JobRequirements(JobRequirement entity)
		{
			this.SendPropertyChanging();
			entity.JobOpening = this;
		}
        public bool CreateJobRequirement(JobRequirementDAO jbReqt)
        {
            JobRequirement jobRequirement = new JobRequirement
            {
                JobOpening_ID = jbReqt.JobOpeningID,
                Skill_ID = jbReqt.SkillID,
                Notes = jbReqt.Notes
            };

            using (AESDatabaseDataContext db = new AESDatabaseDataContext())
            {
                db.JobRequirements.InsertOnSubmit(jobRequirement);
                try
                {
                    db.SubmitChanges();
                }
                catch (Exception e)
                {
                    throw new FaultException<KaskServiceException>(new KaskServiceException(), new FaultReason(e.Message));
                }
            }

            return true;
        }