SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for articles on custom model mapping for Sharepoint (2007 / 2010). Google's not returning a lot of hits on this, are the any articles out there? Best practices, mapping and such?

I'm looking to build something that can be integrated into both 2007 and 2010, and seeing as SPMetal is only limited to 2010, can't use this on 2007.

share|improve this question
up vote 3 down vote accepted

Please see the description and implementation of Repository pattern implemented in SharePoint Guidance Library for 2007 ( In 2010 version, they recommend to use repositories with Linq-to-SharePoint, but it works for easy cases and then require a lot of fixes to do simple things. And to support both version (2007 and 2010) it's required to use object model.

share|improve this answer
found bart's 2007 version of SPMetal on codeplex. although his initial idea was to use CAML as well, I'm sure it'll guide my in the right way. thanks for the link. interesting read. – JadedEric Jan 12 '12 at 13:36

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.