public static IEnumerable <T> Query <T>(this IDbConnection connection, BaseCommand command) where T : class, IParseable { IDataReader reader = connection.Query(command); return(reader.AsList <T>(command.tableVersion) as IEnumerable <T>); }