Table of Contents

Class WebsiteChannelInfo

Namespace
CMS.Websites
Assembly
CMS.Websites.dll

Data container class for WebsiteChannelInfo.

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

Constructors

WebsiteChannelInfo()

Creates an empty instance of the WebsiteChannelInfo class.

public WebsiteChannelInfo()

WebsiteChannelInfo(DataRow)

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

public WebsiteChannelInfo(DataRow dr)

Parameters

dr DataRow

DataRow with the object data.

Fields

OBJECT_TYPE

Object type.

public const string OBJECT_TYPE = "cms.websitechannel"

Field Value

string

TYPEINFO

Type information.

public static readonly ObjectTypeInfo TYPEINFO

Field Value

ObjectTypeInfo

Properties

ObjectDisplayName

Object display name.

protected override string ObjectDisplayName { get; set; }

Property Value

string

Remarks

The returned value is evaluated from first known column in following column sequence: DisplayNameColumn, CodeNameColumn, GUIDColumn, IDColumn, ObjectType.

When evaluating on IDColumn, returned value consists of both ObjectType and IDColumn.

WebsiteChannelChannelID

Website channel ID.

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

Property Value

int

WebsiteChannelDefaultCookieLevel

Website channel cookie level.

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

Property Value

int

Remarks

It is recommended to assign predefined values from CookieLevelConstants

WebsiteChannelDomain

Website domain.

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

Property Value

string

WebsiteChannelGUID

Website GUID.

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

Property Value

Guid

WebsiteChannelHomePage

Website homepage.

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

Property Value

string

WebsiteChannelID

Website ID.

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

Property Value

int

WebsiteChannelPrimaryContentLanguageID

Website primary content language.

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

Property Value

int

WebsiteChannelStoreFormerUrls

Indicates whether to store web page former URLs.

[DatabaseField]
public virtual bool WebsiteChannelStoreFormerUrls { get; set; }

Property Value

bool

Methods

DeleteObject()

Deletes the object using appropriate provider.

protected override void DeleteObject()

LoadDefaultData()

Loads the default data to the object.

protected override void LoadDefaultData()

SetObject()

Updates the object using appropriate provider.

protected override void SetObject()