I want to know is it possible to prevent save a business object when there is a validate on exception error ?
What do you mean by "validate on exception error"?
If the object is not IsValid then BeginSave and Save methods will fail with ValidationException.
thanks for quick response
I mean ValidateOnException is set to true on XAML will preven t wrong type data type is not continue to Business Object Property,
When I save this Business Object there is no error or preventive action happened,
So there is a solution to prevent this Business Object saved when there is an exception ?
thanks a lot jonny :)
That would have to handled by your code as the CSLA object never gets the value.
So this it is all in you XAML code and you must handle it in your own code.
Thanks a lot jonny :)
Copyright (c) Marimer LLC