DefaultAutoFieldGenerator(MetaTable) Constructor

Definition

Initializes a new instance of the DefaultAutoFieldGenerator class.

public:
 DefaultAutoFieldGenerator(System::Web::DynamicData::MetaTable ^ table);
public DefaultAutoFieldGenerator (System.Web.DynamicData.MetaTable table);
new System.Web.DynamicData.DefaultAutoFieldGenerator : System.Web.DynamicData.MetaTable -> System.Web.DynamicData.DefaultAutoFieldGenerator
Public Sub New (table As MetaTable)

Parameters

table
MetaTable

The metadata for the table to generate dynamic fields for.

Exceptions

The table is null.

Remarks

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

Applies to