Executes a SQL statement and creates an object list using Reflection.
Not very efficient but provides an easy way to retrieve
public virtual IEnumerable<T> Query<T>(string sql, Object[] parameters)
Return Value
List of objects or null. Null is returned if there are no matches
Parameters
sql
Sql string to execute
parameters
DbParameters to fill the SQL statement
Overloads:
See also:
Class DataAccessBase© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic