This project is read-only.

How to connect to site using the object model?

Oct 29, 2008 at 10:43 AM
Sorry if i missed something and this is a stupid question. In all the example code i've seen uses a Uri to connect to the site. I saw that the Sharepoint constructor that accepts a Uri object uses the WebServicesSharePointDataProvider. So I assume that's the way to connect to the site using  the SharePoint webservices. The other construtor takes a ISharepointDataProvider, but the only
defined in the BdsSoft.SharePoint.Linq.Providers namespace is the WebServicesSharePointDataProvider. So how do you connect using the object model?  

Thanks
Michael