CMSDataContext Class |
Namespace: CMS.DocumentEngine
public class CMSDataContext : CMSDataContextBase<CMSDataContext>
The CMSDataContext type exposes the following members.
Name | Description | |
---|---|---|
CMSDataContext |
Constructor
| |
CMSDataContext(String) |
Constructor.
|
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.) | |
Current |
Returns current data context.
| |
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.) | |
LoadObjectsLock |
Gets lock object to synchronize LoadObjects execution.
(Inherited from CMSDataContextBaseParentType.) | |
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.) | |
SiteName |
Context site name.
(Inherited from CMSDataContextBaseParentType.) | |
SiteObjects |
Returns the list of all site objects (entry point to site objects).
(Inherited from CMSDataContextBaseParentType.) | |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainerTObject.) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObjectTObject.) |
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 | (Overrides CMSDataContextBaseParentTypeLoadObjects.) | |
LoadObjectType |
Loads the given object type. The method is called during LoadObjects execution
and is inherently synchronized by LoadObjectsLock.
(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.) |