public static Task <IEnumerable <U> > ToEnumerableAsync <T, U>(this AsyncTableQuery <T> tableQuery) where T : class, new() where U : class { return(tableQuery.ToEnumerableAsync().Map(t => t.Select(i => i as U))); }