RelatedIdAttribute class
Value may be required, and must be greater than zero.
[AttributeUsage(AttributeTargets.All)]
public class RelatedIdAttribute : ValidationAttributeBase
Public Members
name | description |
---|---|
RelatedIdAttribute() | The default constructor. |
Required { get; set; } | Wether the value is rquired or not. |
override AddValidation(…) | |
override IsValid(…) |
Protected Members
name | description |
---|---|
override GetErrorMessage() | |
override IsValid(…) |
See Also
- class ValidationAttributeBase
- namespace Amica