SharePoint 2010 LoadQuery Vs Load Methods

added by praveenbattula
3/3/2010 9:05:58 PM

1 Kicks, 88 Views

In SharePoint 2010 we can speak about a year continuously about the new features and APIs. They have included plenty of things and should be made developer life easy!!! Here is a nice concept I want to tell to my readers about what is the difference between the load() and loadQuery() methods. The main definition both will use to load the data or objects you want from the SharePoint server. Then where is the difference? To reduce the confusion, first, we will discuss these in the Managed Client OM [C#]. 1. Difference in syntax: Managed Client object model supports two types of syntax in data retrieval process. One is Query syntax [Linq] and another is Method Syntax. Read more....