SQL.WITH Method (SqlBuilder, String)

Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided subQuery and alias.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public static SqlBuilder WITH(
	SqlBuilder subQuery,
	string alias
)

Parameters

subQuery

Type: DbExtensions.SqlBuilder
The sub-query to use as the body of the WITH clause.

alias

Type: System.String
The alias of the sub-query.

Return Value

Type: SqlBuilder
A new SqlBuilder after calling WITH(SqlBuilder, String).

See Also

Reference

SQL Class
DbExtensions Namespace

© Max Toro Q.