SqlBuilder.FROM(SqlSet, String) Method

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

Namespace: DbExtensions
Assembly: DbExtensions.dll

Overloads

Name Description
FROM() Sets FROM as the next clause, to be used by subsequent calls to clause continuation methods, such as _If(Boolean, ConditionalStringHandler).
FROM(SqlBuilder.ClauseStringHandler<FROM>) Appends the FROM clause using the provided interpolated string handler.
FROM(String) Appends the FROM clause using the provided text.
FROM(SqlBuilder, String) Appends the FROM clause using the provided subQuery as body named after alias.
FROM(SqlSet, String) Appends the FROM clause using the provided subQuery as body named after alias.

Syntax

public SqlBuilder FROM(
	SqlSet subQuery,
	string alias
)

Parameters

subQuery  SqlSet

The sub-query to use as the body of the FROM clause.

alias  String

The alias of the sub-query.

Return Value

SqlBuilder
A reference to this instance after the append operation has completed.

See Also

Reference

SqlBuilder Class
DbExtensions Namespace

© Max Toro Q.