MetaTable.CreateTable Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a MetaTable object.
Overloads
CreateTable(Type) |
Creates the metadata for the specified table. |
CreateTable(ICustomTypeDescriptor) |
Creates the metadata for the specified table. |
CreateTable(Type)
Creates the metadata for the specified table.
public:
static System::Web::DynamicData::MetaTable ^ CreateTable(Type ^ entityType);
public static System.Web.DynamicData.MetaTable CreateTable (Type entityType);
static member CreateTable : Type -> System.Web.DynamicData.MetaTable
Public Shared Function CreateTable (entityType As Type) As MetaTable
Parameters
- entityType
- Type
The table type for which to generate metadata.
Returns
An object that contains the table metadata.
Applies to
CreateTable(ICustomTypeDescriptor)
Creates the metadata for the specified table.
public:
static System::Web::DynamicData::MetaTable ^ CreateTable(System::ComponentModel::ICustomTypeDescriptor ^ typeDescriptor);
public static System.Web.DynamicData.MetaTable CreateTable (System.ComponentModel.ICustomTypeDescriptor typeDescriptor);
static member CreateTable : System.ComponentModel.ICustomTypeDescriptor -> System.Web.DynamicData.MetaTable
Public Shared Function CreateTable (typeDescriptor As ICustomTypeDescriptor) As MetaTable
Parameters
- typeDescriptor
- ICustomTypeDescriptor
Information about the table type.
Returns
An object that contains the table metadata.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈