| CMSDataContext Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: CMS.DocumentEngine
 Syntax
Syntaxpublic class CMSDataContext : CMSDataContextBase<CMSDataContext>
The CMSDataContext type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | CMSDataContext | 
            Constructor
             | 
|  | CMSDataContext(String) | 
            Constructor.
             | 
 Properties
Properties| Name | Description | |
|---|---|---|
|  | AllSites | 
            Gets the collection of all sites.
             | 
|  | AlternativeForms | 
            Collection of alternative forms indexed by their full name
             | 
|  | BrowserHelper | 
            Browser information
             | 
|  | ColumnNames | 
            Available column names.
            (Inherited from AbstractDataContainerParentObjectType.) | 
|  | CSS | 
            CSS styles
             | 
|   | Current | 
            Returns current data context.
             | 
|  | DeviceInfo | 
            Current device info.
             | 
|  | DeviceProfileInfo | 
            Current device profile info.
             | 
|  | DeviceProfileInfoName | 
            Current device profile name.
             | 
|  | Documents | 
            Gets the collection of all documents on the site
            (Inherited from CMSDataContextBaseParentType.) | 
|  | GlobalObjects | 
            Returns the list of all global objects (entry point to global objects).
             | 
|  | IsCachedObject | 
            If true, the object is cached within the system for later use
            (Inherited from CMSDataContextBaseParentType.) | 
|  | IsDisconnected | 
            Returns true if this object is disconnected from the database
            (Inherited from CMSDataContextBaseParentType.) | 
|  | Item | 
            Gets the value of particular property
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | Properties | 
            Properties available through the context.
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | PropertyList | 
            Used property list
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | Queries | 
            Collection of queries indexed by their full name
             | 
|  | RegisteredColumns | 
            Registered Columns
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | RegisteredColumnsObject | 
            Registered Columns object
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | RegisteredProperties | 
            Registered properties
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | RegisteredPropertiesObject | 
            Registered properties object
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | RootDocument | 
            Gets the root document of current site.
            (Inherited from CMSDataContextBaseParentType.) | 
|  | Settings | 
            Gets the object encapsulating all the settings categories with its setting.
            (Inherited from CMSDataContextBaseParentType.) | 
|  | SiteName | 
            Context site name.
            (Inherited from CMSDataContextBaseParentType.) | 
|  | SiteObjects | 
            Returns the list of all site objects (entry point to site objects).
            (Inherited from CMSDataContextBaseParentType.) | 
|  | Transformations | 
            Collection of transformations indexed by their full name
             | 
|  | UseLocalColumns | 
            If true, the object uses local columns
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | UseLocalProperties | 
            If true, the object uses local properties
            (Inherited from AbstractHierarchicalObjectTObject.) | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | CombineWith | 
            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.) | 
|  | ContainsColumn | 
            Returns true if specified column is available in current structure.
            (Inherited from AbstractDataContainerParentObjectType.) | 
|  | GetProperty | 
            Gets the context property.
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | GetPropertyType | 
            Gets the type of the given property
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | GetValue | 
            Gets the object value.
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | HasSetter | 
            Returns true if given property has a setter
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | LoadObjects | 
            Loads GlobalObjects and SiteObjects lists.
            (Overrides CMSDataContextBaseParentTypeLoadObjects.) | 
|  | LoadObjectType | 
            Loads the given object type
            (Overrides CMSDataContextBaseParentTypeLoadObjectType(GeneralizedInfo, Int32).) | 
|  | RegisterColumn(String, FuncTObject, Object) | 
            Registers the given Column to the object
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | RegisterColumn(String, FuncTObject, Object, FuncTObject, Object, Object) | 
            Registers the given Column to the object
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | RegisterColumns | 
            Registers the Columns of this object
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | RegisterProperties | 
            Registers the object properties.
            (Overrides CMSDataContextBaseParentTypeRegisterProperties.) | 
|  | RegisterProperty(String, FuncTObject, Object) | 
            Registers the given property to the object
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | RegisterProperty(String, Object, FuncTObject, Object, Object) | 
            Registers the given parameterized property to the object.
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | SetProperty | 
            Gets the context property.
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | SetValue | 
            Sets the object value.
            (Inherited from AbstractSimpleDataContainerTObject.) | 
|  | TryGetProperty(String, Object) | 
            Gets the context property.
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | TryGetProperty(String, Object, Boolean) | 
            Returns value of property.
            (Inherited from AbstractHierarchicalObjectTObject.) | 
|  | TryGetValue | 
            Returns value of column.
            (Inherited from AbstractSimpleDataContainerTObject.) | 
 See Also
See Also