예제 #1
0
        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");
            }
        }
예제 #2
0
 partial void UpdateResultsTestCase(ResultsTestCase instance);
예제 #3
0
 partial void DeleteResultsTestCase(ResultsTestCase instance);
예제 #4
0
 partial void InsertResultsTestCase(ResultsTestCase instance);