Exemple #1
0
 public UpdateDetailCommand(int detailId, string detailName, string detailFuture, Models.Shop.Category category)
 {
     DetailId      = detailId;
     DetailName    = detailName;
     DetailFeature = detailFuture;
     Category      = category;
 }
 public DetailCreatedEvent(int detailId, string detailName, string detailFeature, Models.Shop.Category category)
 {
     DetailId      = detailId;
     DetailName    = detailName;
     DetailFeature = detailFeature;
     Category      = category;
     AggregateId   = detailId;
 }
 public UpdateProductCommand(int productId, string productName, Models.Shop.Category category, Models.Shop.Detail detail, Models.Shop.Seller seller, ICollection <Models.Shop.Image> images)
 {
     ProductId   = productId;
     ProductName = productName;
     Category    = category;
     Detail      = detail;
     Seller      = seller;
     Images      = images;
 }
Exemple #4
0
 public ProductCreatedEvent(int productId, string productName, Models.Shop.Category category, Models.Shop.Detail detail, Models.Shop.Seller seller, ICollection <Models.Shop.Image> images)
 {
     ProductId   = productId;
     ProductName = productName;
     Category    = category;
     Detail      = detail;
     Seller      = seller;
     Images      = images;
     AggregateId = productId;
 }