MscrmTools / MscrmTools.FluentQueryExpressions

A library to create QueryExpression the fluent way
GNU General Public License v3.0
23 stars 7 forks source link

returning/converting EntityCollection to anonymous/Early Bound type #18

Open siggipop opened 8 months ago

siggipop commented 8 months ago

Being used to using LINQ queries and Early Bound for fetching Dynamics data, anonymous return types are a great way to return more than one entity type for instance when using joins.

Is there a way to convert the standard EntityCollection return type to anonymous type using this library ie.:


... x =>  new { account = x.account, contact = x.contact }