public void Handle(NoteCreated evnt) { _connection.Insert(evnt, "EventSourcing_Sample_Note", _transaction); }
public void Handle(NoteCreated evnt) { OnEventHappened(new TotalNoteCountChanged(Id, TotalNoteCount + 1)); }