Table of Contents

Class GeneralizedAbstractInfo<TInfo>

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Info object interface for abstract info

public class GeneralizedAbstractInfo<TInfo> : AbstractInfoBase<TInfo>.GeneralizedInfoWrapper, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, ICMSStorage where TInfo : AbstractInfoBase<TInfo>, new()

Type Parameters

TInfo
Inheritance
object
GeneralizedAbstractInfo<TInfo>
Implements
Inherited Members
Extension Methods

Constructors

GeneralizedAbstractInfo(AbstractInfoBase<TInfo>, object)

Constructor

protected GeneralizedAbstractInfo(AbstractInfoBase<TInfo> mainObj, object dummy)

Parameters

mainObj AbstractInfoBase<TInfo>

Main object

dummy object

Dummy object to separate the protected constructor

Properties

IsComplete

Returns true if the object is complete (has all columns).

public override bool IsComplete { get; }

Property Value

bool

Methods

GetColumnType(string)

Gets the column type.

public override Type GetColumnType(string columnName)

Parameters

columnName string

Column name

Returns

Type

GetOriginalValue(string)

Returns the original value of column.

public override object GetOriginalValue(string columnName)

Parameters

columnName string

Column name

Returns

object

ResetChanges()

Resets the object changes and keeps the new values as unchanged.

public override void ResetChanges()

RevertChanges()

Reverts the object changes to the original values.

public override void RevertChanges()