Suspending and Reactivating Validation Rules in CSLA.NET Business Object #3466
Unanswered
theafricaninternetgroup
asked this question in
Questions
Replies: 1 comment
-
I have implemented something similar #3412 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working with a business object in CSLA.NET that has several properties and associated validation rules. When an administrator creates this object, they populate basic properties like
Id
,FirstName
,LastName
, andEmail
. However, properties likeDOB
andTax Identification Number
are mandatory and are meant to be filled out by the end-user.Because of these mandatory properties, the object can't be saved at the administrator stage. Is there a way to temporarily suspend specific validation rules to allow the administrator to save the object, and then reactivate these rules when the user interacts with the object?
Beta Was this translation helpful? Give feedback.
All reactions