Exemplo n.º 1
0
 public DataTable GetJobChoiceEmployment(int JobID)
 {
     PIKCV.DAL.JobChoiceEmployment obj = new PIKCV.DAL.JobChoiceEmployment();
     obj.Where.JobID.Value = JobID;
     obj.Query.Load();
     return(obj.DefaultView.Table);
 }
Exemplo n.º 2
0
 public void SaveJobChoiceEmployment(int JobID, string PositionID, string Points)
 {
     PIKCV.DAL.JobChoiceEmployment obj = new PIKCV.DAL.JobChoiceEmployment();
     obj.AddNew();
     obj.JobID      = JobID;
     obj.PositionID = int.Parse(PositionID);
     obj.Points     = int.Parse(Points);
     obj.Save();
 }
Exemplo n.º 3
0
 public bool DeleteJobChoices(int JobID)
 {
     try
     {
         PIKCV.DAL.JobChoiceEducations objEducation = new PIKCV.DAL.JobChoiceEducations();
         objEducation.DeleteAllJobQualitySectors(JobID);
         PIKCV.DAL.JobChoiceEmployment objEmployment = new PIKCV.DAL.JobChoiceEmployment();
         objEmployment.DeleteAllJobQualitySectors(JobID);
         PIKCV.DAL.JobChoiceForeignLanguage objForeignLanguages = new PIKCV.DAL.JobChoiceForeignLanguage();
         objForeignLanguages.DeleteAllJobQualitySectors(JobID);
         return(true);
     }
     catch (Exception)
     {
         return(false);
     }
 }