tags:

views:

34

answers:

2

Hello everyone,

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 manner?

If so, how can this be done?

A: 

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.

Focus
That's what I was afraid of. :(Are those 3rd party tools "supported" by MS?
Shaamaan
A: 

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

mavnn