Beispiel #1
0
 public override void SetUp()
 {
     _collection.CreateIndex(IndexKeys);
 }
 public override void SetUp()
 {
     _writer.Init();
     _documentDeletedWrapper.CreateIndex("Handle",
                                         Builders <DocumentDeletedReadModel> .IndexKeys.Ascending(d => d.Handle));
 }
 public override void SetUp()
 {
     _documents.CreateIndex("Hash", Builders <DocumentDescriptorReadModel> .IndexKeys.Ascending(x => x.Hash));
     _documents.CreateIndex("Documents", Builders <DocumentDescriptorReadModel> .IndexKeys.Ascending(x => x.Documents));
 }
 public override void SetUp()
 {
     _streamReadModelCollection.CreateIndex("StreamReadModel", Builders <StreamReadModel> .IndexKeys
                                            .Ascending(x => x.EventType)
                                            .Ascending(x => x.Id));
 }