This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hey guys, I'm most likely doing something wrong but just wanted to confirm my understanding of ValidatePresence... So the situation: So I have a db schema with a decimal (6,3) field "StartApplicationVersion" not null. Domain object has a [ValidatePresence] attribute on that object. test data has afew rows, one of the rows values is 0.000, others being thinsg like 0.001, 1.000 etc When I get this "0.000" object back and do a check to see if its valid, it says its invalid with the following error "Start Application Version is required", all other objects are returning as expected. Is 0 considered a special case? Cheers Matt |
|
|
sorry, should have checked posts http://www.mindscape.co.nz/forums/Thread.aspx?ThreadID=1058 answers things nicely |
|