Table of Contents

Class DataClassInfoBase<TInfo>

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

ClassInfo data container class.

public abstract class DataClassInfoBase<TInfo> : AbstractInfo<TInfo>, IExtensible, IInfo, IAdvancedDataContainer, ICMSObject, IHierarchicalDataContainer, IDataContainer, ISimpleDataContainer, IVirtualHierarchicalObject, IHierarchicalObject, INameIndexable, IMacroObject where TInfo : DataClassInfoBase<TInfo>, new()

Type Parameters

TInfo
Inheritance
object
DataClassInfoBase<TInfo>
Implements
Derived
Inherited Members
Extension Methods

Constructors

DataClassInfoBase(ObjectTypeInfo)

Constructor - Creates an empty ClassInfo object.

protected DataClassInfoBase(ObjectTypeInfo typeInfo)

Parameters

typeInfo ObjectTypeInfo

DataClassInfoBase(ObjectTypeInfo, DataRow)

Constructor - Creates a new ClassInfo object from the given DataRow.

protected DataClassInfoBase(ObjectTypeInfo typeInfo, DataRow dr)

Parameters

typeInfo ObjectTypeInfo

Type info

dr DataRow

DataRow with the object data

Properties

ClassCodeGenerationSettings

Class code generation settings

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

Property Value

string

ClassConnectionString

Class connection string

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

Property Value

string

ClassContactMapping

Class contact mapping

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

Property Value

string

ClassContactOverwriteEnabled

Class contact overwrite enabled

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

Property Value

bool

ClassContentTypeType

Indicates content type of the class.

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

Property Value

string

ClassDefaultObjectType

Class default object type

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

Property Value

string

ClassDisplayName

Class display name

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

Property Value

string

ClassFormDefinition

Class form definition

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

Property Value

string

ClassGUID

Class GUID

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

Property Value

Guid

ClassHasUnmanagedDbSchema

Class has unmanaged schema. Used for SQL graph tables to prevent table manager from managing tables.

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

Property Value

bool

ClassID

Class ID

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

Property Value

int

ClassIconClass

Class icon used for page types.

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

Property Value

string

ClassLastModified

Class last modified

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

Property Value

DateTime

ClassName

Class name

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

Property Value

string

ClassResourceID

Class resource ID

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

Property Value

int

ClassShortName

Short code name of the class. Short codename has stricter set of allowed characters than ClassName. It only supports alphanumeric characters and cannot start with a number.

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

Property Value

string

Remarks

Must be set for REUSABLE and HEADLESS content types.

ClassShowTemplateSelection

Class show template selection

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

Property Value

bool

ClassTableName

Class table name

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

Property Value

string

ClassType

Indicates type of the class.

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

Property Value

string

ClassWebPageHasUrl

Class web page has URL.

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

Property Value

bool

Remarks

Value is meaningful only for web content types.

ClassXmlSchema

Class xml schema

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

Property Value

string