Example #1
0
 public RavenPersistor(ISessionBoundary boundary)
 {
     _session = new Lazy <IDocumentSession>(() =>
     {
         return(boundary.Session());
     });
 }
Example #2
0
 public DocumentSession(ISessionBoundary boundary)
 {
     _inner = boundary.Session <TSettings>();
 }