摘要: protected void Page_Load(object sender, EventArgs e) { System.IO.TextWriter log; string path = @"c:\TestLinqSQL.txt"; log = System.IO.File.AppendText(path); using (LinqDemoTestDataContext SDataContext = new LinqDemoTestDataContext("http://win")) { SDataContext.Log = log; var item 阅读全文
posted @ 2013-05-14 01:28 Star★ 阅读(166) 评论(0) 推荐(0) 编辑
摘要: LINQ TO SHAREPOINT原创也不能放首页去啊,太打击了。希望以后管理员移除首页的时候加个理由,谢谢文章目录:Linq to SharePoint介绍Linq to SharePoint应用Linq to SharePoint使用总结SharePoint项目中经常会对列表、文档库、网站等进行操作,涉及到的类型包括Site\Web\List\ListItem\Folder等,SharePoint有其原始的查询方法Caml,缺点是查询语句复杂且不容易读懂,最重要的是Caml是用字符串或者GUID作为KEY来查询,在实际应用中很容易出错。针对SharePoint这一问题,微软引入了LINQ 阅读全文
posted @ 2013-05-14 01:10 Star★ 阅读(377) 评论(0) 推荐(1) 编辑