GetCondition<T>(T, List<string>) Method
Generates a condition for a given entity and key columns.
Namespace
DbSyncKit.MySQL
Containing Type
QueryGenerator

Syntax

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

Type Parameters

Name Description
T The type of entity.

Parameters

Name Type Description
entity T The entity object.
keyColumns List<string> The list of key columns for the condition.

Return Value

Type Description
List<string> The generated SQL condition.