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

Show file Open project: mlidbom/Composable.Monolithic Class Usage Examples

Private Properties

Property Type Description
FixManualVersions void
LoadRelatedEventRefactoringInformation IReadOnlyList
Nullable System.Data.SqlClient.SqlParameter
SaveEventsInternal void
SaveEventsWithinReadOrderRange void
ToCorrectPrecisionAndScale System.Data.SqlTypes.SqlDecimal

Public Methods

Method Description
DeleteAggregate ( System.Guid aggregateId ) : void
Insert ( IEnumerable events ) : void
InsertRefactoringEvents ( IEnumerable events ) : void
SqlServerEventStoreEventWriter ( SqlServerEventStoreConnectionManager connectionMananger, SqlServerEvestStoreEventSerializer eventSerializer, SqlServerEventStoreSchemaManager schemaManager ) : System

Private Methods

Method Description
FixManualVersions ( System.Guid aggregateId ) : void
LoadRelatedEventRefactoringInformation ( IEnumerable events ) : IReadOnlyList
Nullable ( SqlParameter @this ) : SqlParameter
SaveEventsInternal ( IEnumerable events ) : void
SaveEventsWithinReadOrderRange ( AggregateRootEvent newEvents, SqlDecimal rangeStart, SqlDecimal rangeEnd ) : void
ToCorrectPrecisionAndScale ( SqlDecimal value ) : SqlDecimal

Method Details

DeleteAggregate() public method

public DeleteAggregate ( System.Guid aggregateId ) : void
aggregateId System.Guid
return void

Insert() public method

public Insert ( IEnumerable events ) : void
events IEnumerable
return void

InsertRefactoringEvents() public method

public InsertRefactoringEvents ( IEnumerable events ) : void
events IEnumerable
return void

SqlServerEventStoreEventWriter() public method

public SqlServerEventStoreEventWriter ( SqlServerEventStoreConnectionManager connectionMananger, SqlServerEvestStoreEventSerializer eventSerializer, SqlServerEventStoreSchemaManager schemaManager ) : System
connectionMananger SqlServerEventStoreConnectionManager
eventSerializer SqlServerEvestStoreEventSerializer
schemaManager SqlServerEventStoreSchemaManager
return System