GenerateDeleteQuery<T>(T, List<string>) Method
Generates a DELETE query based on the provided entity and key columns.
Namespace
DbSyncKit.PostgreSQL
Containing Type
QueryGenerator

Syntax

public string GenerateDeleteQuery<T>(T entity, List<string> keyColumns)

Type Parameters

Name Description
T Type of the entity.

Parameters

Name Type Description
entity T The entity to be deleted.
keyColumns List<string> List of key columns.

Return Value

Type Description
string Delete Query in string.