MetaTable Methods

The MetaTable type exposes the following members.

  Name Description
Protected method BuildAttributeCollection Creates the attribute collection.
Public method CanDelete Gets a value that indicates whether the specified user is allowed to perform delete operations.
Public method CanInsert Gets a value that indicates whether the specified user is allowed to perform insert operations.
Public method CanRead Gets a value that indicates whether the specified user is allowed to perform read operations.
Public method CanUpdate Gets a value that indicates whether the specified user is allowed to perform update operations.
Protected method CreateChildrenColumn Creates a new MetaChildrenColumn object.
Protected method CreateColumn Creates a MetaColumn object.
Public method CreateContext Returns the data context for the table.
Protected method CreateForeignKeyColumn Creates an object that contains foreign-key metadata.
Public method Static member CreateTable(ICustomTypeDescriptor) Creates the metadata for the specified table.
Public method Static member CreateTable(Type) Creates the metadata for the specified table.
Public method Equals(Object) 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(String) Returns the action path for the current table and the specified action.
Public method GetActionPath(String, IList<Object>) Returns the action path for the current table, specified action, and specified primary key.
Public method GetActionPath(String, Object) Returns the action path for the specified row by using the name of the action.
Public method GetActionPath(String, RouteValueDictionary) Returns the action path for the current table and for the specified action and routes.
Public method GetActionPath(String, IList<Object>, String) Appends query strings to the action path, based on the specified primary key and virtual path.
Public method 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.
Public method GetColumn Returns the metadata for the specified column.
Public method GetColumnValuesFromRoute Gets the collection of column values.
Public method GetDataKeyFromRoute Retrieves the primary key of the entity from the route values.
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 GetFilteredColumns Retrieves a list of columns that are filterable.
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetPrimaryKeyDictionary Retrieves a dictionary of primary-key names and values for the specified row.
Public method GetPrimaryKeyString(IList<Object>) Returns a comma-separated list of column values that represent the primary key for the specified row.
Public method GetPrimaryKeyString(Object) Returns a comma-separated list of column 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() Returns the System.Linq.IQueryable instance for the entity type that represents the table.
Public method GetQuery(Object) Returns the System.Linq.IQueryable instance for the entity type that represents the table by using the data context.
Public method GetScaffoldColumns Returns a list of columns to display by using scaffolding.
Public method Static member GetTable Retrieves the metatable that is associated with the specified type.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method Initialize Initializes data that may not be available when the constructor is called.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ResetMetadata Resets the cached metadata for the table.
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.
Public method Static member TryGetTable Retrieves the metatable that is associated with the specified type and table.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft