simonholman.blog
Using Data annotations with partial classes and LINQ to SQL - Simon Holman
If you’re using LINQ to SQL as your data provider then you will need to add a few extra steps to utilise Data annotations with ASP.NET MVC. If you have created your own objects then you can append annotations such as [DisplayName(“This is the display name I want in the view”)] directly to the object ... Read more