DefaultAutoFieldGenerator Constructor (MetaTable)

.NET Framework (current version)
 

Initializes a new instance of the DefaultAutoFieldGenerator class.

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

Public Sub New (
	table As MetaTable
)

Parameters

table
Type: System.Web.DynamicData.MetaTable

The metadata for the table to generate dynamic fields for.

Exception Condition
ArgumentNullException

The table is null.

The DefaultAutoFieldGenerator constructor calls the GetScaffoldColumns method to generate fields dynamically.

.NET Framework
Available since 4.0
Return to top
Show: