Database.From<TResult> Method (SqlBuilder)
Creates and returns a new SqlSet<TResult> using the provided defining query.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public SqlSet<TResult> From<TResult>(
SqlBuilder definingQuery
)
Parameters
definingQuery
Type: DbExtensions.SqlBuilder
The SQL query that will be the source of data for the set.
Type Parameters
TResult
The type of objects to map the results to.
Return Value
Type: SqlSet<TResult>
A new SqlSet<TResult> object.