ASP.net MVC2 - Customize Metadata without using Custom Attributes
I'm pretty new to MVC, I'm trying to create a model that can be localized, but it doesn't seem like that would be possible given that I have to use a custom property attribute to define displayname and validation properties.
Is the开发者_高级运维re a way to dynamically create the model metadata attributes (DisplayName, UIHint, etc..) as opposed to having to define each one using custom property attributes? Ideally i'd like to keep my metadata in a table, xml file - something along those lines.
精彩评论