SP 2010: LINQ to SharePoint - What CAML lies behind my query?

Author: Tobias Zimmergren http://www.zimmergren.net | http://www.tozit.com | [@zimmergren](http://www.twitter.com/zimmergren) Introduction The two following questions are quite popular in my SharePoint 2010 developer training classes, so I ought to answer them right here. "What does LINQ to SharePoint really do?" "Can I see the CAML query generated by the LINQ to SharePoint query?" The answer is simple: Yes, you can see the results of your generated LINQ query by using the Log property of your DataContext object. What CAML lied behind my LINQ to SharePoint query? In order to…

Read More

How To: Easily construct your CAML queries with CAML Query Builder

This post is a mere followup to my previous minor posts on the subject of SPQuery and SharePoint queries located here. Basically this post will provide step-by-step instructions to construct your CAML (Collaborative Application Markup Language) queries using the U2U CALM Query Builder which you can find on the U2U Community Tools page. Prerequisites In order to be able to follow along with this step-by-step instructions you’ll need the following: U2U CAML Query Builder 2007 or later A site containing a Task List with some items - Some items with Status set to Completed Some items with Status set…

Read More