MetaModel::Tables Property
Gets a collection of all the tables that are part of the data model.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
The collection contains all the tables in the data model, which includes the tables that are not visible (are not part of Dynamic Data scaffolding).
Run an online example of this feature.
The following example shows how to use the Tables and VisibleTables properties to perform the following tasks:
Get a collection of all the tables in a data model and show them in a GridView control.
Get a collection of the visible tables in a data model and show them in a GridView control.
The example consists of a page and its code-behind file.
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.