Table of Contents

Class TagInfo

Namespace
CMS.ContentEngine
Assembly
CMS.ContentEngine.dll

Data container class for TagInfo.

[InfoCache(InfoCacheBy.ID)]
public class TagInfo : AbstractInfo<TagInfo, IInfoProvider<TagInfo>>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject, IInfoWithId, IInfoWithGuid, IInfoWithName
Inheritance
object
TagInfo
Implements
Inherited Members
Extension Methods

Constructors

TagInfo()

Creates an empty instance of the TagInfo class.

public TagInfo()

TagInfo(DataRow)

Creates a new instances of the TagInfo class from the given System.Data.DataRow.

public TagInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "cms.tag"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

TagDescription

Tag description.

[DatabaseField]
public virtual string TagDescription { get; set; }

Property Value

string

TagGUID

Tag GUID.

[DatabaseField]
public virtual Guid TagGUID { get; set; }

Property Value

Guid

TagID

Tag ID.

[DatabaseField]
public virtual int TagID { get; set; }

Property Value

int

TagLastModified

Tag last modified.

[DatabaseField]
public virtual DateTime TagLastModified { get; set; }

Property Value

DateTime

TagMetadata

Tag metadata.

[DatabaseField]
public virtual string TagMetadata { get; set; }

Property Value

string

Remarks

To work with tag metadata use TagMetadata class.
For getting deserialized data use Deserialize(string) method.
For setting this property use Serialize() method.

TagName

Tag name.

[DatabaseField]
public virtual string TagName { get; set; }

Property Value

string

TagOrder

Tag order.

[DatabaseField]
public virtual int TagOrder { get; set; }

Property Value

int

TagParentID

Tag parent ID.

[DatabaseField]
public virtual int TagParentID { get; set; }

Property Value

int

TagTaxonomyID

Tag taxonomy ID.

[DatabaseField]
public virtual int TagTaxonomyID { get; set; }

Property Value

int

TagTitle

Tag title.

[DatabaseField]
public virtual string TagTitle { get; set; }

Property Value

string

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

GetCacheDependencies()

Gets collection of dependency keys to be touched when modifying the current object.

protected override ICollection<string> GetCacheDependencies()

Returns

ICollection<string>

GetSiblingsWhereCondition()

Creates where condition according to Parent settings.

protected override WhereCondition GetSiblingsWhereCondition()

Returns

WhereCondition

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()