public void TestDelete() { using (TransactionScope tx = new TransactionScope(TransactionScopeOption.Required)) { SqlServerStore <Kinetix.Data.SqlClient.Test.Bean> store = new SqlServerStore <Kinetix.Data.SqlClient.Test.Bean>("test"); store.Remove(1); Kinetix.Data.SqlClient.Test.TestDbCommand command = Kinetix.Data.SqlClient.Test.TestDbCommand.LastCommand; Assert.IsTrue(command.CommandText.Contains("delete from BEAN where BEA_PK = @BEA_PK")); } }