This documentation is archived and is not being maintained.

MetaTable Members

Visual Studio 2008

Represents the metadata that describes a table for use by Dynamic Data pages.

The MetaTable type exposes the following members.

  NameDescription
Public method CreateContext Returns the data context for the table.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetActionPath Overloaded. Gets the action path for the specified row.
Public method GetColumn Returns the metadata for the specified column.
Public method 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.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetPrimaryKeyString Overloaded. Gets a list of values that represent the primary key for the specified row.
Public method GetPrimaryKeyValues Returns a collection of column values that represent the primary key for the specified row.
Public method GetQuery Overloaded. Gets the System.Linq::IQueryable instance for the entity type that represents the table.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns the name of the table. (Overrides Object::ToString().)
Public method TryGetColumn Returns a value that indicates whether a specified column can be found.
Top

  NameDescription
Public property Attributes Gets the attributes that are associated with the table.
Public property Columns Gets the column collection for the table.
Public property DataContextPropertyName Gets the name of the table.
Public property DataContextType Gets the type of the data context that is associated with the table.
Public property DisplayColumn Gets the column that is used to display values when entries in this table are used as parents in foreign-key relationships.
Public property DisplayName Gets the name of the table in a user-friendly format.
Public property EntityType Gets the entity type that represents the table.
Public property ForeignKeyColumnsNames Gets a comma-separated list of foreign-key names.
Public property HasPrimaryKey Gets a value that indicates whether the table has a primary key.
Public property IsReadOnly Gets a value that indicates whether the table is read-only.
Public property ListActionPath Gets the action path of the list action for the table.
Public property Model Gets the meta model that the table belongs to.
Public property Name Gets the unique name of the table.
Public property PrimaryKeyColumns Gets the collection of columns that define the primary key.
Public property Provider Gets the provider for the table.
Public property Scaffold Gets or sets a value that indicates whether the table should be displayed.
Public property SortColumn Gets the MetaColumn value that the table is sorted by.
Public property SortDescending Gets a value that indicates whether entries are sorted in descending order when they are used as parents in a foreign-key relationship.
Top
Show: