I was wondering if there is any standard support regarding adding or removing items from a collection in Csla based on business rules. I know the usual answer is to override InsertItem and RemoveItem, but I thought I'd ask again given the new rules subsystem, and that this seems like a fairly common use case.
Is there any way to have a rule determine if Insert / Remove should throw an exception or allow the operation?
No, there is no formal rule concept in BLB.
You could wrap your Business List or Read Only List object in a Business object and write your business rules there.
Copyright (c) Marimer LLC