C# Class Ncqrs.Eventing.Storage.RavenDB.RavenDBEventStore

Inheritance: IEventStore
Datei anzeigen Open project: pjvds/ncqrs

Public Methods

Method Description
RavenDBEventStore ( IDocumentStore externalDocumentStore ) : System
RavenDBEventStore ( string ravenUrl ) : System
ReadFrom ( System.Guid id, long minVersion, long maxVersion ) : CommittedEventStream
Store ( UncommittedEventStream eventStream ) : void

Private Methods

Method Description
CreateConventions ( DocumentConvention convention ) : DocumentConvention
GenerateETag ( object entity ) : Guid?
ToComittedEvent ( StoredEvent x ) : CommittedEvent
ToStoredEvent ( System.Guid commitId, UncommittedEvent uncommittedEvent ) : StoredEvent

Method Details

RavenDBEventStore() public method

public RavenDBEventStore ( IDocumentStore externalDocumentStore ) : System
externalDocumentStore IDocumentStore
return System

RavenDBEventStore() public method

public RavenDBEventStore ( string ravenUrl ) : System
ravenUrl string
return System

ReadFrom() public method

public ReadFrom ( System.Guid id, long minVersion, long maxVersion ) : CommittedEventStream
id System.Guid
minVersion long
maxVersion long
return CommittedEventStream

Store() public method

public Store ( UncommittedEventStream eventStream ) : void
eventStream UncommittedEventStream
return void