Click or drag to resize
CMSSiteDataContext Class
Data context for specific site, contains only site related items
Inheritance Hierarchy
System.Object
  CMS.Base.AbstractSimpleDataContainer<CMSSiteDataContext>
    CMS.Base.AbstractDataContainer<CMSSiteDataContext>
      CMS.Base.AbstractHierarchicalObject<CMSSiteDataContext>
        CMS.DocumentEngine.CMSDataContextBase<CMSSiteDataContext>
          CMS.DocumentEngine.CMSSiteDataContext

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

The CMSSiteDataContext type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer<ParentObjectType>.)
Public propertyDocuments
Gets the collection of all documents on the site
(Inherited from CMSDataContextBase<ParentType>.)
Public propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from CMSDataContextBase<ParentType>.)
Public propertyIsDisconnected
Returns true if this object is disconnected from the database
(Inherited from CMSDataContextBase<ParentType>.)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyLoadObjectsLock (Inherited from CMSDataContextBase<ParentType>.)
Public propertyProperties
Properties available through the context.
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyPropertyList
Used property list
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyRegisteredColumns
Registered Columns
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected propertyRegisteredColumnsObject
Registered Columns object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected propertyRegisteredProperties
Registered properties
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected propertyRegisteredPropertiesObject
Registered properties object
(Inherited from AbstractHierarchicalObject<TObject>.)
Public propertyRootDocument
Gets the root document of current site.
(Inherited from CMSDataContextBase<ParentType>.)
Public propertySiteName
Context site name.
(Inherited from CMSDataContextBase<ParentType>.)
Public propertySiteObjects
Returns the list of all site objects (entry point to site objects).
(Inherited from CMSDataContextBase<ParentType>.)
Protected propertyUseLocalColumns
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected propertyUseLocalProperties
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject<TObject>.)
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 AbstractHierarchicalObject<TObject>.)
Public methodContainsColumn
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer<ParentObjectType>.)
Public methodGetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodGetPropertyType
Gets the type of the given property
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodGetValue
Gets the object value.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Public methodHasSetter
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodLoadObjects
Loads SiteObjects and possibly other objects in inherited classes. The method's execution is synchronized by LoadObjectsLock.
(Inherited from CMSDataContextBase<ParentType>.)
Protected methodLoadObjectType
Loads the given object type. The method is called during LoadObjects() execution and is inherently synchronized by LoadObjectsLock.
(Inherited from CMSDataContextBase<ParentType>.)
Protected methodRegisterColumn(String, Func<TObject, Object>)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterColumn(String, Func<TObject, Object>, Func<TObject, Object, Object>)
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterColumns
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainer<TObject>.)
Protected methodRegisterProperties
Registers the object properties.
(Inherited from CMSDataContextBase<ParentType>.)
Protected methodRegisterProperty(String, Func<TObject, Object>)
Registers the given property to the object
(Inherited from AbstractHierarchicalObject<TObject>.)
Protected methodRegisterProperty(String, Object, Func<TObject, Object, Object>)
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodSetProperty
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodSetValue
Sets the object value.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Public methodTryGetProperty(String, Object)
Gets the context property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodTryGetProperty(String, Object, Boolean)
Returns value of property.
(Inherited from AbstractHierarchicalObject<TObject>.)
Public methodTryGetValue
Returns value of column.
(Inherited from AbstractSimpleDataContainer<TObject>.)
Top
See Also