Skip to content

SqlDelete class

namespace: Serenity.Data   assemblySerenity.Net.Services

Class to generate queries of form DELETE FROM tablename WHERE [conditions].

public sealed class SqlDelete : QueryWithParams, IFilterableQuery
parameter description
tableName Table to delete records from (required).

Public Members

name description
SqlDelete(…) Class to generate queries of form DELETE FROM tablename WHERE [conditions].
override ToString() Gets string representation of the query.
Where(…) Adds a new condition to the WHERE part of the query with an "AND" between. (2 methods)
static Format(…) Formats a DELETE query.

Remarks

Creates a new SqlDelete query.

See Also