C# Class Composable.CQRS.EventSourcing.MicrosoftSQLServer.SqlServerEventStore

Inheritance: IEventStore
Afficher le fichier Open project: mlidbom/Composable.Monolithic Class Usage Examples

Méthodes publiques

Свойство Type Description
ConnectionString string

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetAggregateHistoryInternal ( System.Guid aggregateId, bool takeWriteLock ) : IEnumerable
IsRecoverableSqlException ( Exception exception ) : bool
IsRefactoringEvent ( AggregateRootEvent @event ) : bool
StreamEvents ( ) : IEnumerable

Method Details

ClearCache() public méthode

public ClearCache ( ) : void
Résultat void

DeleteEvents() public méthode

public DeleteEvents ( System.Guid aggregateId ) : void
aggregateId System.Guid
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetAggregateHistory() public méthode

public GetAggregateHistory ( System.Guid aggregateId ) : IEnumerable
aggregateId System.Guid
Résultat IEnumerable

GetAggregateHistoryForUpdate() public méthode

public GetAggregateHistoryForUpdate ( System.Guid aggregateId ) : IEnumerable
aggregateId System.Guid
Résultat IEnumerable

PersistMigrations() public méthode

public PersistMigrations ( ) : void
Résultat void

ResetDB() public méthode

public ResetDB ( ) : void
Résultat void

ResetDB() public static méthode

public static ResetDB ( string connectionString ) : void
connectionString string
Résultat void

SaveEvents() public méthode

public SaveEvents ( IEnumerable events ) : void
events IEnumerable
Résultat void

SqlServerEventStore() public méthode

public SqlServerEventStore ( string connectionString, ISingleContextUseGuard usageGuard, IEventNameMapper nameMapper = null, IEnumerable migrations = null ) : System
connectionString string
usageGuard ISingleContextUseGuard
nameMapper IEventNameMapper
migrations IEnumerable
Résultat System

StreamAggregateIdsInCreationOrder() public méthode

public StreamAggregateIdsInCreationOrder ( Type eventBaseType = null ) : IEnumerable
eventBaseType System.Type
Résultat IEnumerable

StreamEvents() public méthode

public StreamEvents ( int batchSize, Action handleEvents ) : void
batchSize int
handleEvents Action
Résultat void

Property Details

ConnectionString public_oe property

public string ConnectionString
Résultat string