Database.Map<TResult> Method (SqlBuilder)

Maps the results of the query to TResult objects. The query is deferred-executed.

Namespace:  DbExtensions
Assembly: DbExtensions.dll

Syntax

public IEnumerable<TResult> Map<TResult>(
	SqlBuilder query
)

Parameters

query

Type: DbExtensions.SqlBuilder
The query.

Type Parameters

TResult

The type of objects to map the results to.

Return Value

Type: IEnumerable<TResult>
The results of the query as TResult objects.

See Also

Reference

Database Class
DbExtensions Namespace

© Max Toro Q.