开发者

Edit ASP.NET Dynamic Data visibleTables Display Names?

开发者 https://www.devze.com 2023-01-06 16:53 出处:网络
I\'ve 开发者_运维知识库figured out how to use metadata to define the displaynames for table data I want to rename - but I haven\'t figured out how to do this to the tables themselves - so that when th

I've 开发者_运维知识库figured out how to use metadata to define the displaynames for table data I want to rename - but I haven't figured out how to do this to the tables themselves - so that when the initial dynamic data menu comes up the menu options are friendly rather than the actual table names. Any suggestions?


See the TableNameAttribute. It takes effect when you reference MetaTable.DisplayName. The attribute can be applied either to the specific table class, or its associated MetadataType class.

0

精彩评论

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