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