public void UpdateTest() { BoxDBAdapter db = GetBoxDBAdapter(); BoxDBAdapterTestVO[] voList = new BoxDBAdapterTestVO[3] { new BoxDBAdapterTestVO(1, "test1_update", 1f), new BoxDBAdapterTestVO(2, "测试2_update", 2f), new BoxDBAdapterTestVO(4, "test3_update", 3f) }; db.Update(tableName, voList); BoxDBAdapterTestVO vo = db.Select <BoxDBAdapterTestVO>(tableName, 1); db.Dispose(); Assert.AreEqual("test1_update", vo.Name); }