'Can we use [Min] data annotation attribute for Null fields?
Can we use [Min] data annotation attribute for Null fields as below?
[Min(1, ErrorMessage = "{0} should be minimum of {1}.")]
[Display(Name = "Budget Manager Name")]
public long? NominationById { get; set; }
What is the use of this? does it cause any issue?
Thanks
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
