Class FormSchemaInfo
- Namespace
- CMS.FormEngine
- Assembly
- CMS.FormEngine.dll
Represents reusable schema.
public sealed class FormSchemaInfo : AbstractDataContainer<FormSchemaInfo>, IDataContainer, ISimpleDataContainer, IDataDefinitionItem- Inheritance
- 
      objectFormSchemaInfo
- Implements
- Inherited Members
- Extension Methods
Constructors
FormSchemaInfo()
Initializes a new instance of FormSchemaInfo.
public FormSchemaInfo()Properties
Caption
Column caption.
public string Caption { get; set; }Property Value
- string
Description
Schema description.
public string Description { get; set; }Property Value
- string
Guid
Schema guid.
public Guid Guid { get; set; }Property Value
- Guid
Name
Schema code name.
public string Name { get; set; }Property Value
- string
Properties
Get schema properties.
public Hashtable Properties { get; }Property Value
- Hashtable
Methods
Clone()
Clones current object and returns copy of it.
public IDataDefinitionItem Clone()Returns
GetXmlNode(XmlDocument)
Returns XML representation of current object.
public XmlNode GetXmlNode(XmlDocument doc)Parameters
- docXmlDocument
- XML document with other items 
Returns
- XmlNode
LoadFromTableData(DataRow, bool, bool)
Loads the field info from plain database structure data.
public void LoadFromTableData(DataRow row, bool isPrimary, bool isSystem)Parameters
- rowDataRow
- Data row with structure information 
- isPrimarybool
- Indicates if field represents primary key 
- isSystembool
- Indicates if field is system field 
Remarks
Database structure data can be obtained via GetColumnInformation(string, string).
LoadFromXmlNode(XmlNode)
Loads the field info from XML node.
public void LoadFromXmlNode(XmlNode node)Parameters
- nodeXmlNode
- Field node