This documentation is archived and is not being maintained.
TableNameAttribute Constructor
Visual Studio 2010
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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: