Skip to content

ToDeleteSql Method ​

Definition ​

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Overloads ​

NameDescription
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 ​

NameDescription
connectionConnection 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 ​

NameDescription
generatorSQL generator used to build provider-specific SQL.

Returns ​

A DeleteStatement containing SQL and parameters.