public void Add(PayAsYouGoAccount payAsYouGoAccount) { var streamName = string.Format("{0}-{1}", typeof(PayAsYouGoAccount).Name, payAsYouGoAccount.Id.ToString()); _eventStore.CreateNewStream(streamName, payAsYouGoAccount.Changes); }