Generates a SELECT query for retrieving data from a database table.
- Namespace
- DbSyncKit
.Templates - Containing Type
- Query
Generation Manager - Implements
-
- IQueryGenerator.GenerateSelectQuery
<T> , string)
- IQueryGenerator.GenerateSelectQuery
Syntax
public string GenerateSelectQuery<T>(string tableName, List<string> listOfColumns, string schemaName)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
tableName | string | The name of the database table. |
listOfColumns | List |
|
schemaName | string | The schema name of the database table. |
Return Value
Type | Description |
---|---|
string | A string representing the generated SELECT query. |