Decorate model fields with metadata from resource file

allgenresaacs

New Member
  • I would like to separate my attribute decoration(3-4 per field) by having them someplace else so that my code looks readable.
  • Also the arguments passed to some attributes should come from a resource file.EG:\[code\][Required("Cannot proceed without entering *field_Name*")]\[/code\]I need just \[code\][Required]\[/code\]
Possible duplicate of this question(on which i couldn't resist offering a bounty) : Default resource for data annotations.
 
Back
Top