C# 클래스 PPPDDDChap23.EventSourcing.Application.Infrastructure.PayAsYouGoAccountRepository

상속: IPayAsYouGoAccountRepository
파일 보기 프로젝트 열기: elbandit/PPPDDD 1 사용 예제들

공개 메소드들

메소드 설명
Add ( PayAsYouGoAccount payAsYouGoAccount ) : void
FindBy ( System.Guid id ) : PayAsYouGoAccount
PayAsYouGoAccountRepository ( EventStore eventStore ) : System
PayAsYouGoAccountRepository ( IEventStore eventStore ) : System
Save ( PayAsYouGoAccount payAsYouGoAccount ) : void
SaveSnapshot ( PayAsYouGoAccountSnapshot snapshot, PayAsYouGoAccount payAsYouGoAccount ) : void

비공개 메소드들

메소드 설명
GetExpectedVersion ( int expectedVersion ) : int?
StreamNameFor ( System.Guid id ) : string

메소드 상세

Add() 공개 메소드

public Add ( PayAsYouGoAccount payAsYouGoAccount ) : void
payAsYouGoAccount PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount
리턴 void

FindBy() 공개 메소드

public FindBy ( System.Guid id ) : PayAsYouGoAccount
id System.Guid
리턴 PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount

PayAsYouGoAccountRepository() 공개 메소드

public PayAsYouGoAccountRepository ( EventStore eventStore ) : System
eventStore EventStore
리턴 System

PayAsYouGoAccountRepository() 공개 메소드

public PayAsYouGoAccountRepository ( IEventStore eventStore ) : System
eventStore IEventStore
리턴 System

Save() 공개 메소드

public Save ( PayAsYouGoAccount payAsYouGoAccount ) : void
payAsYouGoAccount PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount
리턴 void

SaveSnapshot() 공개 메소드

public SaveSnapshot ( PayAsYouGoAccountSnapshot snapshot, PayAsYouGoAccount payAsYouGoAccount ) : void
snapshot PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccountSnapshot
payAsYouGoAccount PPPDDDChap23.EventSourcing.Application.Model.PayAsYouGo.PayAsYouGoAccount
리턴 void