IField Interface |
Namespace: CMS.DataEngine
public interface IField : IDataDefinitionItem
The IField type exposes the following members.
Name | Description | |
---|---|---|
AllowEmpty |
Indicates whether field allow empty values.
| |
Caption |
Column caption.
| |
DataType |
Data type.
| |
DefaultValue |
Field default value.
| |
External |
Indicates if field is external, if so it represents column from another table which is included in CMS_Tree_View_Joined (CMS_Document, CMS_Node, ...).
| |
Guid |
Field unique identifier.
| |
IsDummyField |
Indicates that field has no representation in database.
| |
IsDummyFieldFromMainForm |
If true the field was added into the main form else it was added into the alt.form (expects IsDummyField property to be true).
| |
IsExtraField |
Indicates that field is extra field (field is not in original form definition).
| |
IsInherited |
If true, the field is inherited from parent class.
| |
IsUnique |
Indicates whether field is unique.
| |
Name |
Column name.
| |
Precision |
Precision of the field
| |
PrimaryKey |
Indicates whether field is a primary key.
| |
Properties |
Properties of the field
| |
PropertiesMacroTable |
Macro table for the field properties.
| |
ReferenceToObjectType |
ObjectType to which the given field refers (for example as a foreign key).
| |
ReferenceType |
Type of the reference (used only when ReferenceToObjectType is set).
| |
Size |
Size of the field.
| |
System |
Indicates if field is a system field.
|
Name | Description | |
---|---|---|
Clone |
Clones current object and returns copy of it.
(Inherited from IDataDefinitionItem.) | |
GetXmlNode |
Returns XML representation of current object.
(Inherited from IDataDefinitionItem.) | |
LoadFromTableData |
Loads the field info from plain database structure data.
(Inherited from IDataDefinitionItem.) | |
LoadFromXmlNode |
Loads the field info from XML node.
(Inherited from IDataDefinitionItem.) |