Base solution for your next web application
Open Closed

DataAnnotations #8215


User avatar
0
Siyeza created

I want to add custom message validation on my properties ie see below, [Required(ErrorMessage ="some message")]

adding this to my entity under the project *******.Core does not seem to work.


1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Verification function does not adapt to the domain layer (xxx.Core)

    https://aspnetboilerplate.com/Pages/Documents/Validating-Data-Transfer-Objects