Database.From(SqlBuilder) Method

Creates and returns a new SqlSet using the provided defining query.

Namespace: DbExtensions
Assembly: DbExtensions.dll

Overloads

  Name Description
Public method From(SqlBuilder) Creates and returns a new SqlSet using the provided defining query.
Public method From(String) Creates and returns a new SqlSet using the provided table name.
Public method From(SqlBuilder, Type) Creates and returns a new SqlSet using the provided defining query.
Public method From(String, Type) Creates and returns a new SqlSet using the provided table name.
Public method From<TResult>(SqlBuilder) Creates and returns a new SqlSet<TResult> using the provided defining query.
Public method From<TResult>(String) Creates and returns a new SqlSet<TResult> using the provided table name.
Public method From<TResult>(SqlBuilder, Func<IDataRecord, TResult>) Creates and returns a new SqlSet<TResult> using the provided defining query and mapper.

Syntax

public SqlSet From(
	SqlBuilder definingQuery
)

Parameters

definingQuery  SqlBuilder

The SQL query that will be the source of data for the set.

Return Value

SqlSet
A new SqlSet object.

See Also

Reference

Database Class
DbExtensions Namespace

© Max Toro Q.