Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers 2

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
add comment

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
add comment

Your Answer

 
discard

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