Language Integrated Query, LINQ, is a .NET Framework component used for native data querying

learn more… | top users | synonyms

4
votes
4answers
4k views

CAML vs LINQ vs SQL

So LINQ is a front end to CAML so of course CAML is faster, and CAML is a front end to SQL so of course SQL is faster. However what would be a good test to see where and when to use each of these on ...
3
votes
1answer
804 views

Dynamic LINQ to SharePoint and Projection

How to build dynamic LINQ to SharePoint expression like this(but store "Bill", "Sam" in array): // listing 1 // SPEntityModelDataContext generated with SPMetal using (var db = new ...
1
vote
1answer
173 views

SharePoint, LINQ & Reporting Services Tools

I'm new to SP and SSRS, so I want to check if my thoughts are correct. Report Builder and BIDS suck on data retrieval so I have to go deeper using code. Is it possible to write some code in C# using ...
0
votes
1answer
2k views

Getting items from rows 4-8 in a Sharepoint list using CAML query?

Here is the code Im using to retrieve the first 4 most upcoming announcements from the OOTB announcements list in sharepoint: How do I modify this to retrieve the next 4 (5,6,7 and 8) most upcoming ...
6
votes
2answers
5k views

Get all Files from sub folder of a certain content type

my problem is I have a document library with sub folders. Also the document library got more than one content type. Is there a way to create a CAML or LINQ query to get all files of a certain content ...
1
vote
2answers
952 views

LINQ to SharePoint and localized list names

I'm trying to use Linq to SharePoint to save a new record in my list. I provided my own List definition for which I have 2 resource files that are giving the good list names (French and English). ...
0
votes
1answer
511 views

Dynamic LINQ to SharePoint

This question starts here: Dynamic LINQ to SharePoint and Projection how to build dynamic LINQ to SharePoint expression like this(but store "Bill", "Sam" in array): // Listing 1 // ...