Executes the query, reading every record and converting it to the specified type.
public IReadOnlyList<T> Query<T>()
Executes the query, reading every record and converting it to the specified type with the specified delegate.
public IReadOnlyList<T> Query<T>(Func<IDataRecord, T> map)