private void attach_Applieds(Applied entity) { this.SendPropertyChanging(); entity.Applicant = this; }
private void detach_Applieds(Applied entity) { this.SendPropertyChanging(); entity.Applicant = null; }
partial void DeleteApplied(Applied instance);
partial void UpdateApplied(Applied instance);
partial void InsertApplied(Applied instance);
private void detach_Applieds(Applied entity) { this.SendPropertyChanging(); entity.JobOpening = null; }
public bool CreateApplied(AppliedDAO app) { Applied a = new Applied { Applied_ID = app.AppliedID, Applicant_ID = app.ApplicantID, Application_ID = app.ApplicationID, JobOpening_ID = app.JobOpeningID, DateApplied = app.DateApplied }; using (AESDatabaseDataContext db = new AESDatabaseDataContext()) { db.Applieds.InsertOnSubmit(a); try { db.SubmitChanges(); } catch (Exception e) { throw new FaultException<KaskServiceException>(new KaskServiceException(), new FaultReason(e.Message)); } } return true; }