Home

Linqpad 6 small bug - Group key not shown in dump output when dumping async queryable

edited June 2019
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:



With leading ToList() everything is fine:


Comments

Sign In or Register to comment.