Error When trying to access the Sharepoint List data using Entity Class
I am new to LINQ
I am using the Code in VB.net under the VisualWebPart project
Dim myEntitiesDataContext As New EntityclassDataContext("http://SiteName/NorthAmerica/DBS/")
Dim listItem = From items In myEntitiesDataContext.Aitems Select items
I am getting the below error
Expression of type 'Object' is not queryable. Make sure you are not missing an assembly reference and/or namespace import for the LINQ provider.
Please suggest the solution
Regards, Shivaji
May 10th, 2012 7:25am
Did you generate the Linq-to-Sharepoint Datacontext class?
more info can be found here: http://ranaictiu-technicalblog.blogspot.com.au/2010/05/linq-to-sharepoint.htmlEmpowerIT (Australia) for all your CRM/SharePoint needs.
http://mscrmblog.net
Microsoft Certified Business Management Solutions Specialist
Microsoft Certified CRM Developer
Free Windows Admin Tool Kit Click here and download it now
May 13th, 2012 9:19pm