LINQPad to MS CRM 2011

This morning I blogged about using LINQPad to query an XML file. Well did you know you can also query a Microsoft Dynamics CRM 2011 (in the cloud?!?) version directly from LINQPad? Pretty sweet.

The use of LINQ has become more and more prevelant in the last few years, from .NET Developers using LINQ2SQL, and just using LINQ for object queries, and everything in between (when is there going to be a LINQ2OLAP??)

First, you need to install LINQPad, and then you need to download and configure the
LINQPad Plugin for Microsoft Dynamics CRM 2011.

Once you have that all set you can go and get your LINQ Query on.

The possibilities are pretty much endless here, but yeah, now you can run ad-hoc queries against your CRM installation, which is pretty cool. If you want more samples, install the CRM SDK and do some code diving, you will find some LINQ queries they do in the SDK, which is how I initially got the idea to try using LINQPad.

By Steve Novoselac

Director of Digital Technology @TrekBikes, Father, Musician, Cyclist, Homebrewer

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.