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