MetaTable(MetaModel, TableProvider) 构造函数

定义

初始化 MetaTable 类的新实例。

public:
 MetaTable(System::Web::DynamicData::MetaModel ^ metaModel, System::Web::DynamicData::ModelProviders::TableProvider ^ tableProvider);
public MetaTable (System.Web.DynamicData.MetaModel metaModel, System.Web.DynamicData.ModelProviders.TableProvider tableProvider);
new System.Web.DynamicData.MetaTable : System.Web.DynamicData.MetaModel * System.Web.DynamicData.ModelProviders.TableProvider -> System.Web.DynamicData.MetaTable
Public Sub New (metaModel As MetaModel, tableProvider As TableProvider)

参数

metaModel
MetaModel

实体元模型。

tableProvider
TableProvider

实体模型提供程序。

注解

tableProvider 参数用于初始化 DataContextPropertyName 属性。

适用于