c# - EF: Restriction on data types mapping -
Is it possible to edit the data type error message on EF?
 For example, I have to show 'end-user' that the value entered in the field of the   Thanks a lot!       You can use the regular expression to validate the comment only     id must be an integer value .   
 Public Ent ID {get; Set; }    
 
 [regular expression (@ "^ \ d + $", error message = "field of id should be entered value value")] Public Intent {get; Set; }   
   
 
Comments
Post a Comment