Encapsulates a SQL DELETE statement
For a list of all members of this type, see DeleteQuery Members.
System.Object
Reeb.SqlOM.DeleteQuery
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Use DeleteQuery to delete a row in database table. Set TableName to the table you would like to delete rows from and use WhereClause to specify which rows are to be deleted.
DeleteQuery query = new DeleteQuery("products"); query.WhereClause.Terms.Add(WhereTerm.CreateCompare(SqlExpression.Field("productId"), SqlExpression.Number(999), CompareOperator.Equal)); RenderDelete(query);
Namespace: Reeb.SqlOM
Assembly: Reeb.SqlOM (in Reeb.SqlOM.dll)
DeleteQuery Members | Reeb.SqlOM Namespace