SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is there any way to access Sharepoint lists via LINQ instead of CaML?

share|improve this question
up vote 1 down vote accepted

You can have a look here:

http://msdn.microsoft.com/de-de/library/hh135094.aspx

and for an error that occurs often, here:

http://collaborationnation.blogspot.com/2008/09/feature-guid-for-list-template-xxx-is.html

Sorry, I dont want to sound rude, but these are the first google results..

share|improve this answer

If you are using SP 2010, You can access SP Lists by using SPMetal. Though SPMetal ignores few fields like Modified, Created etc. You can include these fields using an XML file consisting of parameters.

Follow the link for using SPMetal with Parameters -

http://yogeshlotlikar.wordpress.com/2012/03/22/using-spmetal-parameters/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.