protected CustomerGroupAllocation CreateCustomerGroupAllocation(CustomerGroup customerGroup, AnimationProductDetail animationProductDetail) { CustomerGroupAllocation groupAllocation = new CustomerGroupAllocation(); groupAllocation.ID = Guid.NewGuid(); groupAllocation.CustomerGroup = customerGroup; groupAllocation.AnimationProductDetail = animationProductDetail; return groupAllocation; }
void CustomerGroupAllocationManager_EntityChanged(object sender, CustomerGroupAllocation entity) { if (Allocations != null) { Allocations.UpdateTotalFixedAllocation(); } }