SQL.WITH(String) Method
Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided text.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Overloads
| Name | Description |
|---|---|
| WITH(SqlBuilder.ClauseStringHandler<WITH>) | Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided string interpolated handler. |
| WITH(String) | Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided text. |
| WITH(String, SqlBuilder) | Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided subQuery and alias. |
| WITH(String, SqlSet) | Creates and returns a new SqlBuilder initialized by appending the WITH clause using the provided subQuery and alias. |
Syntax
public static SqlBuilder WITH(
string? text
)
Parameters
text String
The body of the WITH clause.
Return Value
SqlBuilder
A new SqlBuilder after calling WITH(String).