protected virtual void Handle(LibraryCreated evnt)
 {
     _entityManager.BuildAndSave<LibraryEntity>(evnt);
 }
 private void Handle(LibraryCreated evnt)
 {
     _connection.Insert(evnt, "EventSourcing_Sample_Library", _transaction);
 }
Beispiel #3
0
 public void When(LibraryCreated libraryCreated)
 {
     LibraryId = libraryCreated.LibraryId;
 }
Beispiel #4
0
 private void OnCreated(LibraryCreated @event)
 {
     UserId = @event.UserId;
     Id     = @event.LibraryId;
 }
Beispiel #5
0
 protected virtual void Handle(LibraryCreated evnt)
 {
     _entityManager.BuildAndSave <LibraryEntity>(evnt);
 }