public void delete_with_wherecolumn() { var op = new SqlDeleteOperation { SchemaName = "dbo", TableName = "Foo" }; op.Where("Bar", 123); Assert.AreEqual("DELETE FROM [dbo].[Foo] WHERE [Bar]=@Bar", op.ToString()); }
public void delete_with_schema() { var op = new SqlDeleteOperation {SchemaName = "dbo", TableName = "Foo"}; Assert.AreEqual("DELETE FROM [dbo].[Foo]", op.ToString()); }