/* * 插入测试需求表单 */ 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); }
partial void Updatetestform(testform instance);
partial void Deletetestform(testform instance);
partial void Inserttestform(testform instance);