SQL.WITH Method (SqlSet, 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(
SqlSet subQuery,
string alias
)
Parameters
subQuery
Type: DbExtensions.SqlSet
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(SqlSet, String).