2014年7月31日

SharePoint的实体生成

摘要: 生成Linq实体使用SPMetal工具生成Linq to SharePoint实体工具安装目录:C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\SPMETAL.exe命令参数:cmd:cdC:\P... 阅读全文

posted @ 2014-07-31 17:51 守望星空 阅读(167) 评论(0) 推荐(0) 编辑

SharePoint CMAL方式处理的 增,删,查,改

摘要: SPContext.Current.Web.Lists["UserInfo"]:获取网站的List,名称是:UserInfo userlist.AddItem():添加数据到List里 user.Update():将数据保存到List里,更新的List里的数据 GetItemById:获取当前行的... 阅读全文

posted @ 2014-07-31 17:12 守望星空 阅读(354) 评论(0) 推荐(0) 编辑

sharepoint Linq方式的增,删,查,改

摘要: Site9527EntitiesDataContext (重要的类):连接实体与网站List操作SPContext.Current.Web.Url:获取当前操作的页面FirstOrDefault:使用时一定要先引用(Using System.Linq;)dataContext.SubmitChang... 阅读全文

posted @ 2014-07-31 16:59 守望星空 阅读(191) 评论(0) 推荐(0) 编辑

SharePoint的安装配置

摘要: 安装环境1. Window server 2008 r2(sp2) OS。2. MS SQL Server 2008 r2。3. Office2010。4. IIS7以上。5. 确认服务器已经加入域控。 阅读全文

posted @ 2014-07-31 15:53 守望星空 阅读(118) 评论(0) 推荐(0) 编辑

导航