예제 #1
0
 private void Handle(NewBookStored evnt)
 {
     _connection.Insert(evnt, "EventSourcing_Sample_BookStoreItem", _transaction);
 }
예제 #2
0
파일: Library.cs 프로젝트: dev-4-dev/c-es
 private void Handle(NewBookStored evnt)
 {
     _bookStoreItems.Add(new BookStoreItem(evnt.BookId, Id, evnt.Count));
 }