C# Класс Ncqrs.Eventing.Storage.RavenDB.RavenDBEventStore

Наследование: IEventStore
Показать файл Открыть проект

Открытые методы

Метод Описание
RavenDBEventStore ( IDocumentStore externalDocumentStore ) : System
RavenDBEventStore ( string ravenUrl ) : System
ReadFrom ( System.Guid id, long minVersion, long maxVersion ) : CommittedEventStream
Store ( UncommittedEventStream eventStream ) : void

Приватные методы

Метод Описание
CreateConventions ( DocumentConvention convention ) : DocumentConvention
GenerateETag ( object entity ) : Guid?
ToComittedEvent ( StoredEvent x ) : CommittedEvent
ToStoredEvent ( System.Guid commitId, UncommittedEvent uncommittedEvent ) : StoredEvent

Описание методов

RavenDBEventStore() публичный Метод

public RavenDBEventStore ( IDocumentStore externalDocumentStore ) : System
externalDocumentStore IDocumentStore
Результат System

RavenDBEventStore() публичный Метод

public RavenDBEventStore ( string ravenUrl ) : System
ravenUrl string
Результат System

ReadFrom() публичный Метод

public ReadFrom ( System.Guid id, long minVersion, long maxVersion ) : CommittedEventStream
id System.Guid
minVersion long
maxVersion long
Результат CommittedEventStream

Store() публичный Метод

public Store ( UncommittedEventStream eventStream ) : void
eventStream UncommittedEventStream
Результат void