c# - SharePoint linq query to retrieve specific columns from a list -


i'm using sharepoint client object model query lists in sharepoint , need create linq queries dynamically in helper assembly.

how create following list<string> of column names containing "id","title","linkfilename","status" ?

context.load(listitems, items => items.include(     item => item["id"],     item => item["title"],     item => item["linkfilename"],     item => item["status"]   ));      

a big thank manvir post solved problem:

http://www.manvir.net/invalidqueryexpressionexception-the-query-expression-is-not-supported/


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -