Interviews3 answers
Diffrence between CAML and LINQ in sharepoint?
3 Answers
SharePoint understands only CAML queries hence even if you use LINQ your LINQ query would be converted to CAML queries and then it would be processed to form a SQL query to fetch data from database.
benifits of LINQ easy to use and join results from multiple datasources. So where ever possible use it with your object model codes.
whenever you trying to access the data using webservice CAML is recommended approach.
Guest UserPosted Oct 14, 2016, 10:34 AM EDT
A Library is a List, but all lists are not libraries.
Lists:
Can have attachments
Have major versions only
Do not have Check-in/Check-out features
Libraries:
Cannot have attachments (files are directly in the library)
Have both minor (draft) and major (published) versioning
Have Check-in/Check-Out
Publishing Libraries can use Page Layouts
Have Unique Document Ids out of the box
Suchitra BeheraPosted Jun 23, 2015, 12:11 AM EDT
CAML is the one query language which is understandable by SharePoint. When we use the LINQ query SharePoint will convert LINQ into CAML
Win!Posted Feb 5, 2015, 8:30 AM EST
