This project is read-only.

SharePointDataSource<T>

May 5, 2009 at 11:24 AM
Hi there,

I hope somebody can help me although i guess this project is dead anyway...

In the examples of "how to use LINQ to SharePoint", it is mentioned that I have to use a type named "SharePointDataSource" to write queries against the SharePoint list. Anyhow, I can't find this type in the BdsSoft.SharePoint.Linq.dll ... Can anyone give me a hint?

so long,
sancho
May 5, 2009 at 11:30 AM
ok guys...

i just tried a bit around and i got it (maybe the example is from an older version of LINQ to SharePoint):

it should be like this:
var t = new SharePointList<T>(new SharePointDataContext(new Uri("http://<insert servername here>")));

so long
sancho