Validate Bool using Fluent Validator
fluent-nhibernate, fluentvalidation, nhibernate
Solution
You should use `.NotNull()`.
`NotEmpty()` will take only `true` as valid property. `NotNull()` will take both `true` and `false` as valid properties.
Problem
I want to validate a bool property using fluent validator. Which method should I use? .NotNull() and .NotEmpty() functions didn't work. Thanks.