Dave Mackey
Dave Mackey

Reputation: 4432

Edit ASP.NET Dynamic Data visibleTables Display Names?

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?

Upvotes: 1

Views: 628

Answers (1)

Michael Kropat
Michael Kropat

Reputation: 15227

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.

Upvotes: 1

Related Questions