Table of Contents

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

IDataDefinitionItem

GetXmlNode(XmlDocument)

Returns XML representation of current object.

XmlNode GetXmlNode(XmlDocument doc)

Parameters

doc XmlDocument

XML 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 DataRow

Data row with structure information

isPrimary bool

Indicates if field represents primary key

isSystem bool

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.

void LoadFromXmlNode(XmlNode node)

Parameters

node XmlNode

Field node