Hello All,
I am using Linq to SharePoint and used SPMetal to generate the class. On the site, I have a list that is based off of a content type. For this, in the class generated by SPMetal, I see the following:
[Microsoft.SharePoint.Linq.ContentTypeAttribute(Name="My ContentType Name", Id="0x0100F646DAA4FC3FA345AF72A314E4F01A7E")]
This is done on my dev machine. I was planning to move this code to the testing environment but obviously the above class is not going to function as the content type id (guid) will be different in the test environment.
Do I need to generate class again in the testing environment or is there an alternative?
Thanks