DataControlExtensions.EnableDynamicData Method

Definition

Enables Dynamic Data behavior for the specified data control.

Overloads

EnableDynamicData(INamingContainer, Type)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type, Object)

Enables Dynamic Data behavior for the specified data control.

EnableDynamicData(INamingContainer, Type)

Enables Dynamic Data behavior for the specified data control.

C#
public static void EnableDynamicData(this System.Web.UI.INamingContainer control, Type entityType);

Parameters

control
INamingContainer

The data control to enable Dynamic Data behavior for.

entityType
Type

The type to use for metadata.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.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

EnableDynamicData(INamingContainer, Type, IDictionary<String,Object>)

Enables Dynamic Data behavior for the specified data control.

C#
public static void EnableDynamicData(this System.Web.UI.INamingContainer control, Type entityType, System.Collections.Generic.IDictionary<string,object> defaultValues);

Parameters

control
INamingContainer

The data control to enable Dynamic Data behavior for.

entityType
Type

The type to use for metadata.

defaultValues
IDictionary<String,Object>

The default values to use with the INamingContainer object.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.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

EnableDynamicData(INamingContainer, Type, Object)

Enables Dynamic Data behavior for the specified data control.

C#
public static void EnableDynamicData(this System.Web.UI.INamingContainer control, Type entityType, object defaults);

Parameters

control
INamingContainer

The data control to enable Dynamic Data behavior for.

entityType
Type

The type that represents the table to display.

defaults
Object

The default values to use with the INamingContainer object.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.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