C# 클래스 Composable.CQRS.EventSourcing.MicrosoftSQLServer.SqlServerEventStore

상속: IEventStore
파일 보기 프로젝트 열기: mlidbom/Composable.Monolithic 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ConnectionString string

공개 메소드들

메소드 설명
ClearCache ( ) : void
DeleteEvents ( System.Guid aggregateId ) : void
Dispose ( ) : void
GetAggregateHistory ( System.Guid aggregateId ) : IEnumerable
GetAggregateHistoryForUpdate ( System.Guid aggregateId ) : IEnumerable
PersistMigrations ( ) : void
ResetDB ( ) : void
ResetDB ( string connectionString ) : void
SaveEvents ( IEnumerable events ) : void
SqlServerEventStore ( string connectionString, ISingleContextUseGuard usageGuard, IEventNameMapper nameMapper = null, IEnumerable migrations = null ) : System
StreamAggregateIdsInCreationOrder ( Type eventBaseType = null ) : IEnumerable
StreamEvents ( int batchSize, Action handleEvents ) : void

비공개 메소드들

메소드 설명
GetAggregateHistoryInternal ( System.Guid aggregateId, bool takeWriteLock ) : IEnumerable
IsRecoverableSqlException ( Exception exception ) : bool
IsRefactoringEvent ( AggregateRootEvent @event ) : bool
StreamEvents ( ) : IEnumerable

메소드 상세

ClearCache() 공개 메소드

public ClearCache ( ) : void
리턴 void

DeleteEvents() 공개 메소드

public DeleteEvents ( System.Guid aggregateId ) : void
aggregateId System.Guid
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetAggregateHistory() 공개 메소드

public GetAggregateHistory ( System.Guid aggregateId ) : IEnumerable
aggregateId System.Guid
리턴 IEnumerable

GetAggregateHistoryForUpdate() 공개 메소드

public GetAggregateHistoryForUpdate ( System.Guid aggregateId ) : IEnumerable
aggregateId System.Guid
리턴 IEnumerable

PersistMigrations() 공개 메소드

public PersistMigrations ( ) : void
리턴 void

ResetDB() 공개 메소드

public ResetDB ( ) : void
리턴 void

ResetDB() 공개 정적인 메소드

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

SaveEvents() 공개 메소드

public SaveEvents ( IEnumerable events ) : void
events IEnumerable
리턴 void

SqlServerEventStore() 공개 메소드

public SqlServerEventStore ( string connectionString, ISingleContextUseGuard usageGuard, IEventNameMapper nameMapper = null, IEnumerable migrations = null ) : System
connectionString string
usageGuard ISingleContextUseGuard
nameMapper IEventNameMapper
migrations IEnumerable
리턴 System

StreamAggregateIdsInCreationOrder() 공개 메소드

public StreamAggregateIdsInCreationOrder ( Type eventBaseType = null ) : IEnumerable
eventBaseType System.Type
리턴 IEnumerable

StreamEvents() 공개 메소드

public StreamEvents ( int batchSize, Action handleEvents ) : void
batchSize int
handleEvents Action
리턴 void

프로퍼티 상세

ConnectionString 공개적으로 프로퍼티

public string ConnectionString
리턴 string