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