This documentation is archived and is not being maintained.
MetaTable Class
Visual Studio 2010
Represents the metadata that describes a table for use by Dynamic Data pages.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
The MetaTable type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Attributes | Gets the attributes that are associated with the table. |
![]() | Columns | Gets the column collection for the table. |
![]() | DataContextPropertyName | Gets the name of the table. |
![]() | DataContextType | Gets the type of the data context that is associated with the table. |
![]() | DisplayColumn | Gets the column that is used to display values when entries in this table are used as parents in foreign-key relationships. |
![]() | DisplayName | Gets the name of the table in a user-friendly format. |
![]() | EntityType | Gets the entity type that represents the table. |
![]() | ForeignKeyColumnsNames | Gets a comma-separated list of foreign-key names. |
![]() | HasPrimaryKey | Gets a value that indicates whether the table has a primary key. |
![]() | IsReadOnly | Gets a value that indicates whether the table is read-only. |
![]() | ListActionPath | Gets the action path of the list action for the table. |
![]() | Model | Gets the meta model that the table belongs to. |
![]() | Name | Gets the unique name of the table. |
![]() | PrimaryKeyColumns | Gets the collection of columns that define the primary key. |
![]() | Provider | Gets the provider for the table. |
![]() | RootEntityType | Gets the root type of the entity's inheritance hierarchy. |
![]() | Scaffold | Gets or sets a value that indicates whether the table should be displayed. |
![]() | SortColumn | Gets the MetaColumn value that the table is sorted by. |
![]() | SortDescending | Gets a value that indicates whether entries are sorted in descending order when they are used as parents in a foreign-key relationship. |
| Name | Description | |
|---|---|---|
![]() | BuildAttributeCollection | Creates the attribute collection. |
![]() | CanDelete | Gets a value that indicates whether the specified user is allowed to perform delete operations. |
![]() | CanInsert | Gets a value that indicates whether the specified user is allowed to perform insert operations. |
![]() | CanRead | Gets a value that indicates whether the specified user is allowed to perform read operations. |
![]() | CanUpdate | Gets a value that indicates whether the specified user is allowed to perform update operations. |
![]() | CreateChildrenColumn | Creates a new MetaChildrenColumn object. |
![]() | CreateColumn | Creates a MetaColumn object. |
![]() | CreateContext | Returns the data context for the table. |
![]() | CreateForeignKeyColumn | Creates an object that contains foreign-key metadata. |
![]() ![]() | CreateTable(ICustomTypeDescriptor) | Creates the metadata for the specified table. |
![]() ![]() | CreateTable(Type) | Creates the metadata for the specified table. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetActionPath(String) | Returns the action path for the current table and the specified action. |
![]() | GetActionPath(String, IList<Object>) | Returns the action path for the current table, specified action, and specified primary key. |
![]() | GetActionPath(String, Object) | Returns the action path for the specified row by using the name of the action. |
![]() | GetActionPath(String, RouteValueDictionary) | Returns the action path for the current table and for the specified action and routes. |
![]() | GetActionPath(String, IList<Object>, String) | Appends query strings to the action path, based on the specified primary key and virtual path. |
![]() | GetActionPath(String, Object, String) | Returns the action path for the specified row by using the name of the action and the virtual path of the action. |
![]() | GetColumn | Returns the metadata for the specified column. |
![]() | GetColumnValuesFromRoute | Gets the collection of column values. |
![]() | GetDataKeyFromRoute | Retrieves the primary key of the entity from the route values. |
![]() | GetDisplayString | Returns the value to use as the display string for an instance of a row when the row is used in foreign-key relationships. |
![]() | GetFilteredColumns | Retrieves a list of columns that are filterable. |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetPrimaryKeyDictionary | Retrieves a dictionary of primary-key names and values for the specified row. |
![]() | GetPrimaryKeyString(IList<Object>) | Returns a comma-separated list of column values that represent the primary key for the specified row. |
![]() | GetPrimaryKeyString(Object) | Returns a comma-separated list of column values that represent the primary key for the specified row. |
![]() | GetPrimaryKeyValues | Returns a collection of column values that represent the primary key for the specified row. |
![]() | GetQuery() | Returns the System.Linq::IQueryable instance for the entity type that represents the table. |
![]() | GetQuery(Object) | Returns the System.Linq::IQueryable instance for the entity type that represents the table by using the data context. |
![]() | GetScaffoldColumns | Returns a list of columns to display by using scaffolding. |
![]() ![]() | GetTable | Retrieves the metatable that is associated with the specified type. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Initialize | Initializes data that may not be available when the constructor is called. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ResetMetadata | Resets the cached metadata for the table. |
![]() | ToString | Returns the name of the table. (Overrides Object::ToString().) |
![]() | TryGetColumn | Returns a value that indicates whether a specified column can be found. |
![]() ![]() | TryGetTable | Retrieves the metatable that is associated with the specified type and table. |
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:



