public void DeleteData() { InsertData(); _provider.Delete("TestTwo", "TestId", "1"); using (IDataReader reader = _provider.Select("TestId", "TestTwo")) { Assert.IsTrue(reader.Read()); Assert.AreEqual(2, Convert.ToInt32(reader[0])); Assert.IsFalse(reader.Read()); } }