示例#1
0
 private void Setup()
 {
     _testDB = new TestDB();
     _testDB.RunSQL("DELETE FROM ThingOne; DBCC CHECKIDENT (ThingOne, reseed, 0); ");
     _testDB.RunSQL("DELETE FROM ThingTwo; DBCC CHECKIDENT (ThingTwo, reseed, 0); ");
     //	_testDB.RunSQL("DELETE FROM ThingThree; DBCC CHECKIDENT (ThingThree, reseed, 0); ");
     //	_testDB.RunSQL("DELETE FROM ThingTwo_ThingThree; DBCC CHECKIDENT (ThingTwo_ThingThree, reseed, 0); ");
     _thingOneData   = new ThingOneData(connStringName);
     _thingTwoData   = new ThingTwoData(connStringName);
     _thingThreeData = new ThingThreeData(connStringName);
 }