Generates a SELECT query based on the provided table name, list of columns, and schema name.
- Namespace
- DbSyncKit.SQLite
- Containing Type
- QueryGenerator
- Implements
-
Syntax
public string GenerateSelectQuery<T>(string tableName, List<string> listOfColumns, string schemaName)
Type Parameters
Name |
Description |
T |
Type of the entity. |
Parameters
Name |
Type |
Description |
tableName |
string |
Name of the table. |
listOfColumns |
List<string> |
List of columns. |
schemaName |
string |
Optional schema name, default is 'main'. |
Return Value
Type |
Description |
string |
Select Query in string. |