TableNameAttribute Constructor (String)
.NET Framework (current version)
Initializes a new instance of the TableNameAttribute class with the specified name for the table.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Parameters
- name
-
Type:
System.String
The name that the table will display.
The TableNameAttribute attribute is used to change the entity name in the metadata when there are entity name conflicts from multiple contexts. The TableNameAttribute attribute should not be used to change the display name. Instead, use the DisplayNameAttribute attribute to change the display name.
.NET Framework
Available since 3.5
Available since 3.5
Show: