FieldTemplateFactory.Model 属性
定义
获取或设置与 MetaModel 类关联的 FieldTemplateFactory。Gets or sets the MetaModel that is associated with the FieldTemplateFactory class.
public:
property System::Web::DynamicData::MetaModel ^ Model { System::Web::DynamicData::MetaModel ^ get(); };
public System.Web.DynamicData.MetaModel Model { get; }
member this.Model : System.Web.DynamicData.MetaModel
Public ReadOnly Property Model As MetaModel
属性值
与 FieldTemplateFactory 关联的模型。The model that is associated with the FieldTemplateFactory.
注解
MetaModel类是一个抽象类,它表示数据库和域对象之间的映射。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. 类是通过对象关系设计器 (O/R 设计器) 生成的。The classes are generated through the Object Relational Designer (O/R Designer). 您可以使用 LINQ to SQL 类模板来生成这些类。You can use the LINQ to SQL Classes template to generate these classes. 此属性用于获取和设置与类关联的数据模型 FieldTemplateFactory 。This property is used to get and set the data model associated with the FieldTemplateFactory class.