ISqlDeleteBuilder Interface
.NET Standard 2.x
Represents an object used to build a SQL DELETE statement.
The SQL DELETE statement can be used to remove one or more rows from the database.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Inherited Constructors
SnapObjects.Data.ISqlFromBuilder
SnapObjects.Data.ISqlJoinBuilder
SnapObjects.Data.ISqlWhereBuilder
SnapObjects.Data.ISqlGroupBuilder
SnapObjects.Data.ISqlHavingBuilder
SnapObjects.Data.ISqlOrderBuilder
SnapObjects.Data.ISqlBuilderBase
System.ICloneable<ISqlBuilder>
Syntax
public interface ISqlDeleteBuilder : ISqlFromBuilder, ISqlJoinBuilder, ISqlWhereBuilder, ISqlGroupBuilder, ISqlHavingBuilder, ISqlOrderBuilder, ISqlBuilder, ISqlBuilderBase, ICloneable<ISqlBuilder>;
Method
Name | Returns Type | Description |
---|---|---|
Delete(string table) | ISqlDeleteBuilder | Creates a SQL DELETE statement and specifies the name of the table or view from which the rows are to be removed. |
Delete(string table, string schema) | ISqlDeleteBuilder | Creates a SQL DELETE statement and specifies the name and the schema of the table or view from which the rows are to be removed. |