Database.Map Method (Type, SqlBuilder)
Maps the results of the query to objects of type specified by the resultType parameter. The query is deferred-executed.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public IEnumerable<Object> Map(
Type resultType,
SqlBuilder query
)
Parameters
resultType
Type: System.Type
The type of objects to map the results to.
query
Type: DbExtensions.SqlBuilder
The query.
Return Value
Type: IEnumerable<Object>
The results of the query as objects of type specified by the resultType parameter.