Why would you use LINQ over CAML for data retrieval? |
Unlike CAML, with LINQ to SharePoint provider, you are working with strongly typed list item objects. For example, an item in the Announcements list is an object of type Announcement and an item on a Tasks list is an object of type Task. You can then enumerate the objects and get the properties for your use. Also, you can use LINQ syntax and the LINQ keywords built into C# and VB for LINQ queries. |
Monday, November 28, 2011
Why would you use LINQ over CAML for data retrieval?
Category:
SharePoint 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment