コード例 #1
0
 public void RenameProvider(SharePointProviderInfo sharePointProviderInfo, string newTitle)
 {
     using (var dbDao = new SharpBoxAccountDao(CoreContext.TenantManager.GetCurrentTenant().TenantId, FileConstant.DatabaseId))
     {
         dbDao.UpdateProviderInfo(sharePointProviderInfo.ID, newTitle, sharePointProviderInfo.RootFolderType);
         sharePointProviderInfo.UpdateTitle(newTitle); //This will update cached version too
     }
 }
コード例 #2
0
 public SharePointDaoBase(SharePointProviderInfo sharePointInfo, SharePointDaoSelector sharePointDaoSelector)
 {
     ProviderInfo          = sharePointInfo;
     SharePointDaoSelector = sharePointDaoSelector;
 }
コード例 #3
0
 public SharePointSecurityDao(SharePointProviderInfo sharePointInfo, SharePointDaoSelector sharePointDaoSelector)
     : base(sharePointInfo, sharePointDaoSelector)
 {
 }
コード例 #4
0
 public SharePointFolderDao(SharePointProviderInfo sharePointInfo, SharePointDaoSelector sharePointDaoSelector)
     : base(sharePointInfo, sharePointDaoSelector)
 {
 }
コード例 #5
0
 public SharePointFolderDao(SharePointProviderInfo sharePointInfo, SharePointDaoSelector sharePointDaoSelector)
     : base(sharePointInfo, sharePointDaoSelector)
 {
 }
コード例 #6
0
 public SharePointDaoBase(SharePointProviderInfo sharePointInfo, SharePointDaoSelector sharePointDaoSelector)
 {
     ProviderInfo = sharePointInfo;
     SharePointDaoSelector = sharePointDaoSelector;
 }
コード例 #7
0
 public SharePointSecurityDao(SharePointProviderInfo sharePointInfo, SharePointDaoSelector sharePointDaoSelector)
     : base(sharePointInfo, sharePointDaoSelector)
 {
 }