Пример #1
0
 /*
  * 插入测试需求表单
  */
 public bool insertTestForm(TestForm tf)
 {
     if (tf != null)
     {
         testform t = new testform();
         if (tf.field != null)
         {
             t.field = tf.field;
         }
         t.complete = tf.complete;
         db.testform.InsertOnSubmit(t);
         db.SubmitChanges();
         return(true);
     }
     return(false);
 }
Пример #2
0
 partial void Updatetestform(testform instance);
Пример #3
0
 partial void Deletetestform(testform instance);
Пример #4
0
 partial void Inserttestform(testform instance);