There are two ways: 1 "direct annotations"
2 "Annotatins with a resource"
Direct annotations
[Display(Name = "My Field")] public string MyField { get; set; }
Annotatinos with resource
[Display(Name = "My_Field",ResourceType = typeof(Resource))] public string MyField { get; set; }
The second way is to add a value to the resource file, which is probably called Resource.resx .
Use that is suitable for your purpose.
Baimyrza Shamyr Jan 31 '17 at 16:56 2017-01-31 16:56
source share