public static async Task <IEnumerable <IEnumerable <T> > > GetAsync <T>( this QueryFactory db, Query[] queries, IDbTransaction transaction = null, CommandType?commandType = null ) { var multi = await db.GetMultipleAsync <T>( queries, transaction, commandType ); var list = new List <IEnumerable <T> >(); using (multi) { for (var i = 0; i < queries.Count(); i++) { list.Add(multi.Read <T>()); } } return(list); }