C# 클래스 Ncqrs.Eventing.Storage.SQLite.SQLiteEventStore

상속: IEventStore
파일 보기 프로젝트 열기: SzymonPobiega/ncqrs

공개 메소드들

메소드 설명
EnsureDatabaseExists ( string connectionString ) : void
GetAllEvents ( System.Guid id ) : IEnumerable
GetAllEventsSinceVersion ( System.Guid id, long version ) : IEnumerable
SQLiteEventStore ( string connectionString ) : System
SQLiteEventStore ( string connectionString, IPropertyBagConverter converter ) : System
Save ( IEventSource source ) : void

비공개 메소드들

메소드 설명
AddEventSource ( IEventSource eventSource, System.Data.SQLite.SQLiteTransaction transaction ) : void
GetVersion ( System.Guid providerId, System.Data.SQLite.SQLiteTransaction transaction ) : int?
SaveEvent ( SourcedEvent evnt, System.Guid eventSourceId, System.Data.SQLite.SQLiteTransaction transaction ) : void
SaveEvents ( IEnumerable evnts, System.Guid eventSourceId, System.Data.SQLite.SQLiteTransaction transaction ) : void
UpdateEventSourceVersion ( IEventSource eventSource, System.Data.SQLite.SQLiteTransaction transaction ) : void

메소드 상세

EnsureDatabaseExists() 공개 정적인 메소드

public static EnsureDatabaseExists ( string connectionString ) : void
connectionString string
리턴 void

GetAllEvents() 공개 메소드

public GetAllEvents ( System.Guid id ) : IEnumerable
id System.Guid
리턴 IEnumerable

GetAllEventsSinceVersion() 공개 메소드

public GetAllEventsSinceVersion ( System.Guid id, long version ) : IEnumerable
id System.Guid
version long
리턴 IEnumerable

SQLiteEventStore() 공개 메소드

public SQLiteEventStore ( string connectionString ) : System
connectionString string
리턴 System

SQLiteEventStore() 공개 메소드

public SQLiteEventStore ( string connectionString, IPropertyBagConverter converter ) : System
connectionString string
converter IPropertyBagConverter
리턴 System

Save() 공개 메소드

public Save ( IEventSource source ) : void
source IEventSource
리턴 void