开发者

MSCRM: Can one convert a CrmService to a DataContext (new CRM SDK)?

I'm trying to create a DataContext (a class available via the new MSCRM SDK) from an existing CrmService. Is this at all possible in a supported 开发者_如何学Cmanner?

If so, how can this be done?


Are you talking about a LINQ DataContext? If so, this isn't openly supported. You could create the Linq to SQL scaffolding just like with any other database and then have access to a DataContext, but updates/inserts would be unsupported.

There are some third party tools that allow you to use LINQ to do queries.


The Advanced Developer Extensions (part of the most recent SDK release) provide an XrmDataContext class to allow querying CRM via linq.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜