Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to use Linq to Sharepoint for some custom reports but I am running into an issue trying to setup SPMetal.

I generated the class but for one of my lists "ListA" only ID and Title fields are being generated. It as a custom content type "ContentZ" which is a list content type and not a site content type.

Does anyone know how to get SPMetal to register my custom content type and then generate the ListA class properly?

thanks.

share|improve this question
    
Did you ever come up with a solution? I have the same problem and think its not possible by design. So I have to create a content type and site columns and use the XML settings to tell SPMetal what content type to include. –  Predator Nov 6 '12 at 2:48
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.