Appearance
ToDeleteSql Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
| Name | Description |
|---|---|
DeleteStatement ToDeleteSql(IConnection connection) | Builds a DELETE statement for the current query using the connection's generator. |
DeleteStatement ToDeleteSql(ISqlGenerator generator) | Builds a DELETE statement for the current query using the specified SQL generator. |
DeleteStatement ToDeleteSql(IConnection connection)
csharp
DeleteStatement ToDeleteSql(IConnection connection)Builds a DELETE statement for the current query using the connection's generator.
Parameters
| Name | Description |
|---|---|
connection | Connection providing the ISqlGenerator used to build SQL. |
Returns
A DeleteStatement containing SQL and parameters.
DeleteStatement ToDeleteSql(ISqlGenerator generator)
csharp
DeleteStatement ToDeleteSql(ISqlGenerator generator)Builds a DELETE statement for the current query using the specified SQL generator.
Parameters
| Name | Description |
|---|---|
generator | SQL generator used to build provider-specific SQL. |
Returns
A DeleteStatement containing SQL and parameters.