EntityTemplateFactory.CreateEntityTemplate Method (MetaTable, DataBoundControlMode, String)

.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.

Creates an instance of the entity template for the specified table.

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

public virtual EntityTemplateUserControl CreateEntityTemplate(
	MetaTable table,
	DataBoundControlMode mode,
	string uiHint
)

Parameters

table
Type: System.Web.DynamicData.MetaTable

The metadata for the table to which the entity template applies.

mode
Type: System.Web.UI.WebControls.DataBoundControlMode

The display mode of the entity template.

uiHint
Type: System.String

The name of the template to use.

Exception Condition
ArgumentNullException

The table is null.

.NET Framework
Available since 4.0
Return to top
Show: