GenerateSelectQuery<T>(string, List<string>, string) Method
Generates a SELECT query based on the provided table name, list of columns, and schema name.
Namespace
DbSyncKit.PostgreSQL
Containing Type
QueryGenerator

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 'public'.

Return Value

Type Description
string Select Query in string.