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 |
The list of key columns for the condition. |
Return Value
Type | Description |
---|---|
List |
The generated SQL condition. |