This project is read-only.


No public members after creating data context assembly


After using SPMetal with the xml parameter file, and having the access modifier to "public", when using the driver and selecting the created assembly, when trying to select a data context type, it displays a message saying "There are no public types in that assembly".
However checking the generated code by spmetal, all classes are public and i can see them as public in the object browser.

file attachments

Closed May 20, 2011 at 11:26 AM by theiwaz
This issue seems to be cleared


theiwaz wrote Mar 15, 2011 at 10:08 AM

It is necessary that the Data Context Class which s derived from Microsoft.SharePoint.Linq.DataContext is public. Please refer to the attached screenshot.

wrote Mar 15, 2011 at 10:08 AM

wrote May 20, 2011 at 11:26 AM

wrote Feb 14, 2013 at 1:01 AM

wrote May 16, 2013 at 6:32 AM