MetaColumn Class
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.
Represents a database column that is used by Dynamic Data.
public ref class MetaColumn : System::Web::DynamicData::IFieldFormattingOptions
public class MetaColumn : System.Web.DynamicData.IFieldFormattingOptions
type MetaColumn = class
interface IFieldFormattingOptions
Public Class MetaColumn
Implements IFieldFormattingOptions
- Inheritance
-
MetaColumn
- Derived
- Implements
In ASP.NET Dynamic Data applications, the MetaColumn class represents a database field. The MetaColumn class lets you retrieve information about the data field such as type and metadata information.
You can retrieve the table that the data field belongs to by using the Table property. You can also retrieve the data model by using the Model property.
Meta |
Initializes a new instance of the MetaColumn class. |
Allow |
Gets or sets a value that specifies whether a column enables a value to be inserted. |
Apply |
Gets a value that indicates whether the formatting string specified by the DataFormatString property is applied to field values when the data-bound control that contains the data field that is represented by the MetaColumn object is in edit mode. |
Attributes |
Gets the collection of metadata attributes that apply to the data field represented by the MetaColumn object. |
Column |
Gets the data field type. |
Convert |
Gets a value that indicates whether empty string values ("") are automatically converted to |
Data |
Gets the string that specifies the display format for the field value. |
Data |
Gets the DataTypeAttribute attribute that is applied to the data field. |
Default |
Gets the default value for the data field. |
Description |
Gets the description for the data field. |
Display |
Gets the display name for the data field. |
Entity |
Gets an object that contains attributes of the property that represents the data field in the entity type. |
Filter |
Gets the FilterUIHint value that is used for the column. |
Html |
Gets a value that indicates whether field values are HTML-encoded before they are displayed in a data-bound control. |
Is |
Gets a value that indicates whether the data field contains binary data. |
Is |
Gets a value that indicates whether the data field exists in the database. |
Is |
Gets a value that indicates whether the data field is a floating-point type. |
Is |
Gets a value that indicates whether the data field is part of a foreign key. |
Is |
Gets a value that indicates whether the data field value is automatically generated in the database. |
Is |
Gets a value that indicates whether the data field type is an integer type. |
Is |
Gets a value that indicates whether the data field type can contain long strings. |
Is |
Gets a value that indicates whether the data field is part of the table's primary key. |
Is |
Gets a value that indicates whether the data field is read-only. |
Is |
Gets a value that indicates whether the data field requires a value. |
Is |
Gets a value that indicates whether the data field type is a string type. |
Max |
Gets a value that indicates the maximum length of data that can be stored in the data field. |
Model |
Gets the MetaModel object that represents the data model that this data field belongs to. |
Name |
Gets the name of the data field. |
Null |
Gets the caption that is displayed for a field when the field's value is |
Prompt |
Gets a value that can be used as a watermark in the UI that is bound to data in the column. |
Provider |
Gets the abstraction provider object that is used to generate the MetaColumn object. |
Required |
Gets the error message that is displayed when the data field requires a value but its value is empty. |
Scaffold |
Gets a value that indicates whether the data field should be displayed. |
Short |
Gets the short name for the column. |
Sort |
Gets the expression that is used to determine the sort order for the data field. |
Table |
Gets the MetaTable object that represents the table that the data field belongs to. |
Type |
Gets the type of the data field. |
UIHint |
Gets the name of the field template specified for the data field. |
Build |
Gets the attribute collection. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Initialize() |
Initializes data that might not be available when the constructor is called. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Reset |
Clears cached column metadata. |
To |
Gets the data field name. |
Convert |
Returns the value provided by a user for a control that is being validated. |
Format |
Formats the specified field value by using the specified formatting options. |
Format |
Formats the specified field value by using the specified formatting options. |
Get |
Gets the type of the enumeration that represents the column. |
Product | Versions |
---|---|
.NET Framework | 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: