Table of Contents

GetQuery Method

Definition

Namespace
Cuemon.Data
Assemblies
Cuemon.Data.dll
Source
src/Cuemon.Data/QueryBuilder.cs

GetQuery(QueryType)

Create and returns the query from the specified QueryType.

public string GetQuery(QueryType queryType)

Parameters

queryType QueryType

Type of the query to create.

Returns

string

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

GetQuery(QueryType, string)

Create and returns the builded query from the specified QueryType.

public abstract 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