Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: Can I only Validate one property?

$
0
0
read the document in bref, I can't find the way to validate one property except define an individual validator with one property.

I want the feature: I can define my rules for all property in a class, and I can choose which property to validate.

In an UI scene, when I create a User With all info, when I fill one property,I should validate it,but I don't want to validate others.because maybe others havn't been filled.
how to do it?

Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>