コード例 #1
0
 public ChangeProductPriceCommand(long id, decimal price, CommandMeta commandMeta)
     : base(commandMeta)
 {
     Id    = id;
     Price = price;
 }
コード例 #2
0
 public ChangeProductNameCommand(long id, string name, CommandMeta commandMeta)
     : base(commandMeta)
 {
     Id   = id;
     Name = name;
 }
コード例 #3
0
 public ChangeProductColorCommand(Guid id, string color, CommandMeta commandMeta, long?expectedVersion)
     : base(commandMeta, expectedVersion)
 {
     Id    = id;
     Color = color;
 }
コード例 #4
0
 public AddCartCommand(CommandMeta commandMeta, long productId, short quantity, string userId) : base(commandMeta)
 {
     ProductId = productId;
     Quantity  = quantity;
     UserId    = userId;
 }
コード例 #5
0
 public ChangeProductForBabyCommand(long id, bool forBaby, CommandMeta commandMeta)
     : base(commandMeta)
 {
     Id      = id;
     ForBaby = forBaby;
 }
コード例 #6
0
 public ChangeProductForBabyCommand(Guid id, bool?forBaby, CommandMeta commandMeta, long?expectedVersion)
     : base(commandMeta, expectedVersion)
 {
     Id      = id;
     ForBaby = forBaby;
 }
コード例 #7
0
 public ChangeProductTypeCommand(long id, string productType, CommandMeta commandMeta)
     : base(commandMeta)
 {
     Id          = id;
     ProductType = productType;
 }