public void SaveResultTestCase(int idTestCase, string message) { Model.ResultsTestCase resultTestCase = new Model.ResultsTestCase { IdTestCase = idTestCase, Message = message, Success = string.IsNullOrEmpty(message), }; context.ResultsTestCases.InsertOnSubmit(resultTestCase); try { context.SubmitChanges(); } catch (Exception ex) { //throw new Exception("cant save current result test case"); } }
partial void UpdateResultsTestCase(ResultsTestCase instance);
partial void DeleteResultsTestCase(ResultsTestCase instance);
partial void InsertResultsTestCase(ResultsTestCase instance);