コード例 #1
0
ファイル: careerAppClass.cs プロジェクト: resh2302/BRDHC-BkUp
 //insert
 public bool insertApp(Guid appID, Guid jobID, string _fname, string _lname, string _email, string _phone, string _resume, string _cover)
 {
     careersAppDataContext objApps = new careersAppDataContext();
     using (objApps)
     {
         brdhc_JobApplication objNewApp = new brdhc_JobApplication();
         objNewApp.ApplicationId = Guid.NewGuid();
         objNewApp.JobPostId = Guid.Parse(jobID.ToString());
         objNewApp.FirstName = _fname;
         objNewApp.LastName = _lname;
         objNewApp.Email = _email;
         objNewApp.Phone = _phone;
         objNewApp.ResumePath = _resume;
         objNewApp.CoverLetter = _cover;
         objApps.brdhc_JobApplications.InsertOnSubmit(objNewApp);
         objApps.SubmitChanges();
         return true;
     }
 }
コード例 #2
0
 partial void Deletebrdhc_JobApplication(brdhc_JobApplication instance);
コード例 #3
0
 partial void Updatebrdhc_JobApplication(brdhc_JobApplication instance);
コード例 #4
0
 partial void Insertbrdhc_JobApplication(brdhc_JobApplication instance);