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

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

Méthodes publiques

Méthode Description
GetId ( Type type ) : int
GetType ( int id ) : Type
SqlServerEventStoreEventTypeToIdMapper ( string connectionString, IEventNameMapper nameMapper ) : System

Private Methods

Méthode Description
EnsureInitialized ( ) : void
GetTypes ( ) : IEnumerable
InsertNewType ( Type newType ) : IdTypeMapping
LoadTypesFromDatabase ( ) : void

Method Details

GetId() public méthode

public GetId ( Type type ) : int
type System.Type
Résultat int

GetType() public méthode

public GetType ( int id ) : Type
id int
Résultat System.Type

SqlServerEventStoreEventTypeToIdMapper() public méthode

public SqlServerEventStoreEventTypeToIdMapper ( string connectionString, IEventNameMapper nameMapper ) : System
connectionString string
nameMapper IEventNameMapper
Résultat System