public Task AddSideEffect(SideEffectRecord sideEffectRecord) { if (value.MessageId != null) { throw new Exception("Cannot add messages if transaction has already been committed."); } value.SideEffects.Add(sideEffectRecord); return(Update()); }
public Task AddSideEffect(SideEffectRecord sideEffectRecord) { return(impl.AddSideEffect(sideEffectRecord)); }