Exemple #1
0
 public override void Save(MailboxStoreTypeProvider session)
 {
     using (UserConfigurationDictionaryAdapter <MRSRequest> userConfigurationDictionaryAdapter = new UserConfigurationDictionaryAdapter <MRSRequest>(session.MailboxSession, MRSRequest.GetName(this.RequestGuid), SaveMode.NoConflictResolutionForceSave, new GetUserConfigurationDelegate(UserConfigurationHelper.GetMailboxConfiguration), MRSRequestSchema.PersistedProperties))
     {
         userConfigurationDictionaryAdapter.Save(this);
     }
     base.ResetChangeTracking();
 }
 public override void Save(MailboxStoreTypeProvider session)
 {
     using (UserConfigurationDictionaryAdapter <AggregatedAccountConfiguration> userConfigurationDictionaryAdapter = new UserConfigurationDictionaryAdapter <AggregatedAccountConfiguration>(session.MailboxSession, "AggregatedAccount", SaveMode.NoConflictResolutionForceSave, new GetUserConfigurationDelegate(UserConfigurationHelper.GetMailboxConfiguration), AggregatedAccountConfiguration.aggregatedAccountProperties))
     {
         userConfigurationDictionaryAdapter.Save(this);
     }
     base.ResetChangeTracking();
 }
Exemple #3
0
 public override void Save(MailboxStoreTypeProvider session)
 {
     using (UserConfigurationDictionaryAdapter <MailboxSpellingConfiguration> userConfigurationDictionaryAdapter = new UserConfigurationDictionaryAdapter <MailboxSpellingConfiguration>(session.MailboxSession, "OWA.UserOptions", new GetUserConfigurationDelegate(UserConfigurationHelper.GetMailboxConfiguration), MailboxSpellingConfiguration.mailboxProperties))
     {
         userConfigurationDictionaryAdapter.Save(this);
     }
     base.ResetChangeTracking();
 }
 public override void Save(MailboxStoreTypeProvider session)
 {
     using (UserConfigurationDictionaryAdapter <MailboxRegionalConfiguration> userConfigurationDictionaryAdapter = new UserConfigurationDictionaryAdapter <MailboxRegionalConfiguration>(session.MailboxSession, "OWA.UserOptions", new GetUserConfigurationDelegate(UserConfigurationHelper.GetMailboxConfiguration), MailboxRegionalConfiguration.mailboxProperties))
     {
         userConfigurationDictionaryAdapter.Save(this);
     }
     if (base.IsModified(MailboxRegionalConfigurationSchema.Language) && this.Language != null)
     {
         this.SaveCultures(session.MailboxSession.GetADRecipientSession(false, ConsistencyMode.FullyConsistent));
     }
     base.ResetChangeTracking();
 }
Exemple #5
0
 public override void Save(MailboxStoreTypeProvider session)
 {
     using (WorkingHoursAdapter <MailboxCalendarConfiguration> workingHoursAdapter = new WorkingHoursAdapter <MailboxCalendarConfiguration>(session.MailboxSession))
     {
         using (UserConfigurationDictionaryAdapter <MailboxCalendarConfiguration> userConfigurationDictionaryAdapter = new UserConfigurationDictionaryAdapter <MailboxCalendarConfiguration>(session.MailboxSession, "OWA.UserOptions", new GetUserConfigurationDelegate(UserConfigurationHelper.GetMailboxConfiguration), MailboxCalendarConfiguration.mailboxProperties))
         {
             using (UserConfigurationDictionaryAdapter <MailboxCalendarConfiguration> userConfigurationDictionaryAdapter2 = new UserConfigurationDictionaryAdapter <MailboxCalendarConfiguration>(session.MailboxSession, "Calendar", new GetUserConfigurationDelegate(UserConfigurationHelper.GetCalendarConfiguration), MailboxCalendarConfiguration.calendarProperties))
             {
                 workingHoursAdapter.Save(this);
                 userConfigurationDictionaryAdapter.Save(this);
                 userConfigurationDictionaryAdapter2.Save(this);
                 base.ResetChangeTracking();
             }
         }
     }
 }