The text of this article is not in this database — only its details are. Read it on the old site: Complex Custom Validation Attribute Specific to Entity
1 Comment
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment.

Mahesh KantariyaPosted Aug 30, 2022, 4:33 AM
I want to create a custom validation attribute for a unique column. When I override the IsValid method, the validationContext (from parameter) always returns null. How that can be resolved?