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