Business Rules in BusinessListBase #3215
Replies: 2 comments 1 reply
-
Here is an example of how I do this with a property rule:
|
Beta Was this translation helpful? Give feedback.
-
The suggested answer at the moment is to have a parent There's been talk about a (major) change to the framework to merge |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are having fun with a Csla based project from a few years ago.
I noticed that in order to avoid duplicate items in a collection (BusinessListBase) we check the contains method first and then add the item to the collection.
Since BusinessListBase doesn't support 'AddBusinessRules (?) we can't use something like NoDuplicateResource in ProjectTracker. I am concerned that UI developers (in the future) might not check the contains method, is there a way we could write a validation rule?
Kind regards
Beta Was this translation helpful? Give feedback.
All reactions