We are creating Linq to Sharepoint entities using SPMetal.exe for a site.
We got the entities.cs file created by SPMetal.exe successfully.
We have a document library inside the site say (doclibrary1). There we will be having folders,sub-folders and document set inside the sub-folders. I am defining a custom content type say (contype1) and assigned it as the default content type for the document library. Now how to query for all the document set from the document library entity produced in entities.cs. Can anybody help in achieving my objective through Linq ?.
I had tried the following links
http://rgielen.blogspot.com/2010/10/spmetal-linq-to-sharepoint-2010.html
http://collab.rdacorp.com/2010/05/linq-to-sharepoint-and-document-sets.html
code snippets,illustrated examples and useful links are really appreciated.
Thanks