Generates a DELETE query for deleting data from a database table.
- Namespace
- DbSyncKit
.Templates - Containing Type
- Query
Generation Manager - Implements
Syntax
public string GenerateDeleteQuery<T>(T entity, List<string> keyColumns)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
entity | T | The entity representing the data to be deleted. |
keyColumns | List |
The list of key columns used for deletion. |
Return Value
Type | Description |
---|---|
string | A string representing the generated DELETE query. |