Table of Contents

GetQuery Method

Definition

Namespace
Cuemon.Data.SqlClient
Assemblies
Cuemon.Data.SqlClient.dll
Source
src/Cuemon.Data.SqlClient/SqlQueryBuilder.cs

GetQuery(QueryType, string)

Create and returns the query from the specified QueryType.

public override string GetQuery(QueryType queryType, string tableName)

Parameters

queryType QueryType

Type of the query to create.

tableName string

The name of the table or view. Overrides the class wide tableName.

Returns

string

The result of the builder as a T-SQL query.