Esempio n. 1
0
 public void createTest(String testName)
 {
     _test = new test();
      _test.tname = testName;
      _test.nid = getTestId();
 }
 partial void Deletetest(test instance);
 partial void Updatetest(test instance);
 partial void Inserttest(test instance);
Esempio n. 5
0
        public void openTestChange(string testName)
        {
            System.Collections.IEnumerator enumeratorTest = context.test.GetEnumerator();

             while (enumeratorTest.MoveNext())
             {
                 test curentTest = (test)enumeratorTest.Current;
                 if (curentTest.tname.CompareTo(testName) == 0)
                 {
                     _test = curentTest;
                 }
             }
        }
Esempio n. 6
0
 public void createTest(String testName)
 {
     _test = new test();
      _test.tname = testName;
      _test.nid = getTestId();
       context.test.InsertOnSubmit(_test);
 }