public static RavenDbSession OpenStorageSession() { var storageSession = new RavenDbSession(CurrentSession); if (!storageSession.IsInitialized) { storageSession.ForcedInitialize(); } return(storageSession); }
public static RavenDbSession OpenStorageSession() { var storageSession = new RavenDbSession(CurrentSession); if (!storageSession.IsInitialized) { storageSession.ForcedInitialize(); } return storageSession; }