DynamicDataExtensions.GetMetaTable Method

Definition

Gets metadata for a table.

Overloads

GetMetaTable(IDataSource)

Gets the metadata for a table in the specified data source object.

GetMetaTable(INamingContainer)

Gets the table metadata for the specified data control.

GetMetaTable(IDataSource)

Gets the metadata for a table in the specified data source object.

C#
public static System.Web.DynamicData.MetaTable GetMetaTable(this System.Web.UI.IDataSource dataSource);

Parameters

dataSource
IDataSource

The data source object for which to get the table metadata.

Returns

The table metadata associated with the IDataSource object.

Remarks

The table metadata was set by using the SetMetaTable or EnableDynamicData method.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetMetaTable(INamingContainer)

Gets the table metadata for the specified data control.

C#
public static System.Web.DynamicData.MetaTable GetMetaTable(this System.Web.UI.INamingContainer control);

Parameters

control
INamingContainer

The data control for which to get the table metadata.

Returns

The table metadata that is associated with the INamingContainer object.

Remarks

The table metadata was set by using the SetMetaTable or EnableDynamicData method.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1