Interface IDataDefinitionItem
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Interface for data definition items.
public interface IDataDefinitionItem
- Extension Methods
Methods
Clone()
Clones current object and returns copy of it.
IDataDefinitionItem Clone()
Returns
GetXmlNode(XmlDocument)
Returns XML representation of current object.
XmlNode GetXmlNode(XmlDocument doc)
Parameters
doc
XmlDocumentXML document with other items
Returns
- XmlNode
LoadFromTableData(DataRow, bool, bool)
Loads the field info from plain database structure data.
void LoadFromTableData(DataRow row, bool isPrimary, bool isSystem)
Parameters
row
DataRowData row with structure information
isPrimary
boolIndicates if field represents primary key
isSystem
boolIndicates 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.
void LoadFromXmlNode(XmlNode node)
Parameters
node
XmlNodeField node