SqlBuilder.WITH Method (SqlBuilder, String)

Appends the WITH clause using the provided subQuery as body named after alias.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public 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 reference to this instance after the append operation has completed.

See Also

Reference

SqlBuilder Class
DbExtensions Namespace

© Max Toro Q.