Exemple #1
0
 protected RepositoryBase(IStorageSession outsideSession)
 {
     _outsideSession = outsideSession;
     ProvidersIndexes.Ensure(((RavenDbSession)outsideSession).Session.Advanced.DocumentStore);
 }
Exemple #2
0
 protected RepositoryBase(IStorage storage)
 {
     _storage = storage;
     ProvidersIndexes.Ensure(((RavenDbStorage)storage).DocumentStore);
 }