File tree Expand file tree Collapse file tree
src/Services/Ordering/Ordering.API/Application/Commands Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66namespace Microsoft . eShopOnContainers . Services . Ordering . API . Application . Commands
77{
8+ // DDD and CQRS patterns comment: Note that it is recommened to implement immutable Commands
9+ // In this case, its immutability is achieved by having all the setters as private
10+ // plus only being able to update the data just once, when creating the object through its constructor.
11+ // References on Immutable Commands:
12+ // http://cqrs.nu/Faq
13+ // https://docs.spine3.org/motivation/immutability.html
14+ // http://blog.gauffin.org/2012/06/griffin-container-introducing-command-support/
15+ // https://msdn.microsoft.com/en-us/library/bb383979.aspx
16+
817 [ DataContract ]
918 public class CreateOrderCommand
1019 : IAsyncRequest < bool >
You can’t perform that action at this time.
0 commit comments