Updating with linq

Rated 4.38/5 based on 810 customer reviews

Recently, I have been working on a application to import data into MS CRM. The CRM service does have a LINQ provider, but its features are limited - and the feature that I expected to be there is actually what ended up causing my problem.

In case you didn’t read the article, it discusses the downside of most O/R Mapping frameworks when it comes to multiple updates or deletes.Since I recently converted my site to blogengine.net, I’ll use its database schema for all examples to follow.In addition to this, all code snippets you’ll see were run in LINQPad, which at the moment is by far my favorite development tool that I’m using (now if they’d only get intellisense in there, I’d play with this program all day long).Now that everything was set up I was ready to begin retrieving, and manipulating records. I had something like this: [code language="csharp"] var account = xrm. Hopefully this helps anyone else who comes across this issue!My first couple of queries were simple, and worked fine the first time: READ: [code language="csharp"] var account = xrm. About the Author: Top Line Strategies delivers the complete integration and development of sales, marketing and customer service technologies that enable corporate clientele to improve revenue streams and strengthen customer interactions.

Leave a Reply