Generates a select query for a given entity and columns.
- Namespace
- DbSyncKit
.MySQL - Containing Type
- QueryGenerator
Syntax
public string GenerateSelectQuery<T>(string tableName, List<string> ListOfColumns, string schemaName)Type Parameters
| Name | Description |
|---|---|
| T | The type of entity. |
Parameters
| Name | Type | Description |
|---|---|---|
| tableName | string | The table name for the select query. |
| ListOfColumns | List |
The list of columns to select. |
| schemaName | string | The schema name (if applicable). |
Return Value
| Type | Description |
|---|---|
| string | The generated SQL select query. |