예제 #1
0
 private void LoadRavenConfig()
 {
     using (var session = this.readOnlyOpsStore.OpenSession())
     {
         var config = session.Load <RavenConfig>(RavenConfig.LiveDocumentId);
         if (config != null)
         {
             this.ravenConfig = config;
         }
     }
 }
예제 #2
0
 private void LoadRavenConfig()
 {
     using (var session = this.readOnlyOpsStore.OpenSession())
     {
         var config = session.Load<RavenConfig>(RavenConfig.LiveDocumentId);
         if (config != null)
         {
             this.ravenConfig = config;
         }
     }
 }