Future<List<T>> all(T Function() entityCreator, DbContext dbc) async { var list = await querable.db.Select().From(querable).execute(dbc); return list.map<T>((e) => entityCreator()..fromMap(e)).toList(); }