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

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

공개 메소드들

메소드 설명
GetId ( Type type ) : int
GetType ( int id ) : Type
SqlServerEventStoreEventTypeToIdMapper ( string connectionString, IEventNameMapper nameMapper ) : System

비공개 메소드들

메소드 설명
EnsureInitialized ( ) : void
GetTypes ( ) : IEnumerable
InsertNewType ( Type newType ) : IdTypeMapping
LoadTypesFromDatabase ( ) : void

메소드 상세

GetId() 공개 메소드

public GetId ( Type type ) : int
type System.Type
리턴 int

GetType() 공개 메소드

public GetType ( int id ) : Type
id int
리턴 System.Type

SqlServerEventStoreEventTypeToIdMapper() 공개 메소드

public SqlServerEventStoreEventTypeToIdMapper ( string connectionString, IEventNameMapper nameMapper ) : System
connectionString string
nameMapper IEventNameMapper
리턴 System