This documentation is archived and is not being maintained.

FieldTemplateFactory::Model Property

Gets or sets the MetaModel that is associated with the FieldTemplateFactory class

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

public:
property MetaModel^ Model {
	MetaModel^ get ();
	private: void set (MetaModel^ value);
}

Property Value

Type: System.Web.DynamicData::MetaModel
The model that is associated with the FieldTemplateFactory.

The MetaModel class is an abstract class that represents the mapping between a database and domain objects. Dynamic Data provides a set of classes (the data model) that represent the model. The classes are generated through the Object Relational Designer (O/R Designer). You can use the LINQ to SQL Classes template to generate these classes. This property is used to get and set the data model associated with the FieldTemplateFactory class.

.NET Framework

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: