SupplierProductStore.cs 557 B

123456789101112131415161718192021
  1. using Comal.Classes;
  2. namespace Comal.Stores
  3. {
  4. public class SupplierProductStore : BaseProductStore<SupplierProduct>
  5. {
  6. protected override void AfterSave(SupplierProduct entity)
  7. {
  8. base.AfterSave(entity);
  9. //if (entity.ProductLink.UseDefaultSupplierPricing)
  10. UpdateDefaultSupplierPricing(entity);
  11. }
  12. protected override void AfterDelete(SupplierProduct entity)
  13. {
  14. base.AfterDelete(entity);
  15. // Do we actually need to do anything here?
  16. }
  17. }
  18. }