partial void DeleteSAResponse(SAResponse instance);
partial void InsertSAResponse(SAResponse instance);
partial void UpdateSAResponse(SAResponse instance);
public bool CreateSAResponse(SAResponseDAO s) { SAResponse sAResponse = new SAResponse { SAResponse_ID = s.SAResponseID, SAResponseDescription = s.SAResponseDescription }; using (AESDatabaseDataContext db = new AESDatabaseDataContext()) { db.SAResponses.InsertOnSubmit(sAResponse); try { db.SubmitChanges(); } catch (Exception e) { throw new FaultException<KaskServiceException>(new KaskServiceException(), new FaultReason(e.Message)); } } return true; }