private void detach_Interviews(Interview entity) { this.SendPropertyChanging(); entity.SAResponse = null; }
private void detach_Interviews(Interview entity) { this.SendPropertyChanging(); entity.Applicant = null; }
private void detach_Interviews(Interview entity) { this.SendPropertyChanging(); entity.SAQuestion = null; }
partial void DeleteInterview(Interview instance);
partial void UpdateInterview(Interview instance);
partial void InsertInterview(Interview instance);
public bool CreateInterview(InterviewDAO s) { Interview interview = new Interview { Interview_ID = s.InterviewID, Applicant_ID = s.ApplicantID, SAQuestion_ID = s.SAQuestionID, SAResponse_ID = s.SAResponseID //UserID = s.UserID }; using (AESDatabaseDataContext db = new AESDatabaseDataContext()) { db.Interviews.InsertOnSubmit(interview); try { db.SubmitChanges(); } catch (Exception e) { throw new FaultException<KaskServiceException>(new KaskServiceException(), new FaultReason(e.Message)); } } return true; }