Tags: maniserowicz/ProcentCqrs
Tags
using Knockout.js for databindings related to rename operation
moved tests to MSpec (added bat to run tests - R#6 runner not availab… …le yet)
testing scenario of adding the same trainee to the same training mult… …iple times first test investigating exceptions thrown from domain
testing assigning trainee to a training - first test dependent on cur… …rent date/time
first basic tests, for now using FakeItEasy and XUnit XUnit will probably be replaced by MSpec once it's R#6 runner is ready
renamed user row is updated immediately without postback
added all components required to assign Trainee to Training Notice how the responsibility of saving new TrainingAssignment is thrown out of the Training class. Simply adding new assignemnt to "_trainees" collection would be "nicer", but would also cause NH fetch all already assigned trainees - we do not need that here. Instead we mark this realtion as "inverse" in NH and let command handler save the new object. Of course lots of validation and user-friendly error messages are missing at this point, but it does not matter.
added event handler notifying about new trainings
fetching data from readmodel in mvc app using Simple.Data - READ side… … of CQRS
PreviousNext