Click or drag to resize
CMSDataContext Class
Data context.
Inheritance Hierarchy
SystemObject
  CMS.BaseAbstractSimpleDataContainerCMSDataContext
    CMS.BaseAbstractDataContainerCMSDataContext
      CMS.BaseAbstractHierarchicalObjectCMSDataContext
        CMS.DocumentEngineCMSDataContextBaseCMSDataContext
          CMS.DocumentEngineCMSDataContext

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public class CMSDataContext : CMSDataContextBase<CMSDataContext>

The CMSDataContext type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllSites
Gets the collection of all sites.
Public propertyAlternativeForms
Collection of alternative forms indexed by their full name
Public propertyBrowserHelper
Browser information
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainerParentObjectType.)
Public propertyCSS
CSS styles
Public propertyStatic memberCurrent
Returns current data context.
Public propertyDeviceInfo
Current device info.
Public propertyDeviceProfileInfo
Current device profile info.
Public propertyDeviceProfileInfoName
Current device profile name.
Public propertyDocuments
Gets the collection of all documents on the site
(Inherited from CMSDataContextBaseParentType.)
Public propertyGlobalObjects
Returns the list of all global objects (entry point to global objects).
Public propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from CMSDataContextBaseParentType.)
Public propertyIsDisconnected
Returns true if this object is disconnected from the database
(Inherited from CMSDataContextBaseParentType.)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyQueries
Collection of queries indexed by their full name
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObjectTObject.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyRootDocument
Gets the root document of current site.
(Inherited from CMSDataContextBaseParentType.)
Public propertySettings
Gets the object encapsulating all the settings categories with its setting.
(Inherited from CMSDataContextBaseParentType.)
Public propertySiteName
Context site name.
(Inherited from CMSDataContextBaseParentType.)
Public propertySiteObjects
Returns the list of all site objects (entry point to site objects).
(Inherited from CMSDataContextBaseParentType.)
Public propertyTransformations
Collection of transformations indexed by their full name
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.)
Public propertyWebPartLayouts
Collection of web part layouts indexed by their full name
Top
Methods
  NameDescription
Public methodCombineWith
Combines current instance with other properties (modifies current instace!). List properties are merged from all the participating typeinfos, other properties are taken as first non-null value (non-null is determined by nullValues collection).
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainerParentObjectType.)
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodLoadObjects
Loads GlobalObjects and SiteObjects lists.
(Overrides CMSDataContextBaseParentTypeLoadObjects.)
Protected methodLoadObjectType
Loads the given object type
(Overrides CMSDataContextBaseParentTypeLoadObjectType(GeneralizedInfo, Int32).)
Protected methodRegisterColumn(String, FuncTObject, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainerTObject.)
Protected methodRegisterProperties
Registers the object properties.
(Overrides CMSDataContextBaseParentTypeRegisterProperties.)
Protected methodRegisterProperty(String, FuncTObject, Object)
Registers the given property to the object
(Inherited from AbstractHierarchicalObjectTObject.)
Protected methodRegisterProperty(String, Object, FuncTObject, Object, Object)
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainerTObject.)
Public methodTryGetProperty(String, Object)
Gets the context property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodTryGetProperty(String, Object, Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObjectTObject.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainerTObject.)
Top
See Also