Linqpad 6 small bug - Group key not shown in dump output when dumping async queryable
Linqpad 6s dump result does not print the Group "Key" property when dumping EfCore async Queryables:
Persons.AddRange(Enumerable.Range(0, 100).Select(i => new Person() { Value = $"Person {i}" }));
SaveChanges();
(from p in Persons
group p by p.Id.ToString()[0] into g
select g)
//.ToList() // Uncomment this and the group key is correctly dumped.
.Dump();
When using without ToList(), the group "Key" property is not displayed within a group:
![](https://us.v-cdn.net/5019392/uploads/editor/5s/2no4qa1cozyr.png)
With leading ToList() everything is fine:
![](https://us.v-cdn.net/5019392/uploads/editor/4j/t31vlwz2raa9.png)
Persons.AddRange(Enumerable.Range(0, 100).Select(i => new Person() { Value = $"Person {i}" }));
SaveChanges();
(from p in Persons
group p by p.Id.ToString()[0] into g
select g)
//.ToList() // Uncomment this and the group key is correctly dumped.
.Dump();
When using without ToList(), the group "Key" property is not displayed within a group:
![](https://us.v-cdn.net/5019392/uploads/editor/5s/2no4qa1cozyr.png)
With leading ToList() everything is fine:
![](https://us.v-cdn.net/5019392/uploads/editor/4j/t31vlwz2raa9.png)
Comments