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