c# - Data Annotation/Validation and dynamic values -


If some of my models have dynamic verification conditions (i.e., the string length can be minimally or 8, depending on the database value Based on or some other dynamic value) Is it impossible to use data annotation for verification?

What I think, the value of any parameter (eg string lagang min / max value) should be really stable. Are there alternatives for applications with dynamic verification values?

Your very own stuck with the writing of your own custom verification:


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -