IS CAML the only way to Query MOSS?
-
19-08-2019 - |
Question
CAML is hard to learn, and dificult to use, is there a better way to get results from MOSS, besides using CAML queries? And not referring to the Web Services, which are slower, or the object model, which again is slower.
OTHER TIPS
There is also a Linq to Sharepoint provider which gives the ability to use Linq syntax over CAML - definitely worth a look.
Yes, Sharepoint 2010 has introduced a tool named SPMetal, using which we can have entities representing the lists in our site. We can perform CRUD (Create Read Update Delete) operations using SPMetal and Linq.
This link shows you how to generate custom entities using SPMetal and parameters.
I depends on what you want to do.
You can also use the MOSS search engine to search for documents.