开发者

Eager loading child properties using LINQ to CRM

开发者 https://www.devze.com 2023-02-17 12:41 出处:网络
Is there anyway I can eager load client defined child properties on a CRM entity using the LINQ to CRM Provider supplied in SDK 4.0.12?I\'m looking for something the same as the pattern in Entity Fram

Is there anyway I can eager load client defined child properties on a CRM entity using the LINQ to CRM Provider supplied in SDK 4.0.12? I'm looking for something the same as the pattern in Entity Framework as shown here. I'd love to be able to do this so we can align our repository interfa开发者_如何学运维ces with those we already have against EF.

As an aside, I know I can do it client side via a WCF Data Service exposing my DataContext and then use the .Expand() extension method. Therefore, it doesn't seem like such a stretch to allow me to perform the same at the server.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号