Επεξεργασία

Κοινή χρήση μέσω


MetaTable.CreateTable Method

Definition

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