Tobias Zimmergren 6/3/2012

Extending the LINQ to SharePoint context to allow additional fields and properties in your queries

Read Original

This article explains how to extend auto-generated LINQ to SharePoint contexts to include additional fields and properties that are not rendered by default, such as 'Created By' and 'Attachments'. It covers using SPMetal or CKS:Dev tools to generate a context, then implementing the ICustomMapping interface to create partial classes that map these missing fields. The approach allows post-deployment flexibility for querying new list fields, with a focus on practical customization for SharePoint developers.

Extending the LINQ to SharePoint context to allow additional fields and properties in your queries

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet