开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜