score:2

Accepted answer

i found a solution via linq provider. you have to project the grouped items explicitly via select() and property by property on the group result, e.g.:

var groupeditems = _collection
    .asqueryable()
    .groupby(pv => pv.articlenumber, (key, group) => new
    {
        key,
        items = group.select(groupitem => new productversion { propertya = groupitem.propertya, ... })
    })
...

Related Query

More Query from same tag