DefaultAutoFieldGenerator Constructor (MetaTable)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the DefaultAutoFieldGenerator class.

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

public DefaultAutoFieldGenerator(
	MetaTable table
)

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: