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
Post a Comment