MetaModel.GetTable Method (String, Type)
.NET Framework (current version)
Returns the metadata that describes the specified table.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
Parameters
- tableName
-
Type:
System.String
The name of the table.
- contextType
-
Type:
System.Type
The data context to search for the table.
| Exception | Condition |
|---|---|
| ArgumentNullException | tablename or contextType is null. |
| ArgumentException | The context is not registered or the table does not exist in the data context. |
.NET Framework
Available since 3.5
Available since 3.5
Show: