MetaModel.GetTable Method (String)

 

Returns the metadata that is associated with the specified table.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

member GetTable : 
        uniqueTableName:string -> MetaTable

Parameters

uniqueTableName
Type: System.String

The name that identifies the table in the data model.

Return Value

Type: System.Web.DynamicData.MetaTable

The metadata that describes the specified table.

Exception Condition
ArgumentException

The name was not found in the data model.

The name uniquely identifies a table in the data model and is used to generate the related URL for routing.

The following example shows how to use the GetTable(String) method to obtain the metadata for the specified table. For a complete example, see GetTable.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: