protected CustomerAllocation CreateCustomerAllocation(Customer customer, AnimationProductDetail animationProductDetail) { CustomerAllocation customerAllocation = new CustomerAllocation(); customerAllocation.ID = Guid.NewGuid(); customerAllocation.Customer = customer; customerAllocation.AnimationProductDetail = animationProductDetail; return customerAllocation; }
void CustomerAllocationManager_EntityChanged(object sender, CustomerAllocation entity) { if (Allocations != null) { Allocations.UpdateTotalFixedAllocation(); } }