Because LINQ to Entities queries are translated to SQL queries, so each operation you do must have an equivalent in SQL.

Constructors which are nothing more than methods can't be translated.

But instantiating an anonymous type can, it will simply be translated as:

SELECT someAlias.Key, someAlias.Time ...

Related Query

More Query from same tag