public void Sql数据库插入数据_数字日期_批量插入() { string SqlInsert = @"insert into Table_C (A) values (@1)"; CJia.DataAdapter sqlAdapter = new CJia.DataAdapter(CJia.DbConfigName.SqlDB.ToString()); List <object> listParams = new List <object>(); listParams.Add(22); listParams.Add(33); listParams.Add(44); int Result = sqlAdapter.BatchExecute(SqlInsert, listParams); Assert.AreEqual(3, Result, "批量插入失败"); }