The CMSDataContext type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
![]() | CMSDataContext |
Constructor
|
![]() | CMSDataContext(String) |
Constructor.
|
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 AbstractHierarchicalObject ObjectType .) |
![]() | ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .) |
![]() | ![]() | (Inherited from ![]() |
![]() | ![]() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | LoadObjects |
Loads GlobalObjects and SiteObjects lists.
(Overrides CMSDataContextBase ParentType LoadObjects .) |
![]() | LoadObjectType |
Loads the given object type
(Overrides CMSDataContextBase ParentType LoadObjectType(GeneralizedInfo, Int32).) |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | RegisterColumn(String, Func ParentObjectType, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | RegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | RegisterColumns |
Registers the Columns of this object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | RegisterProperties |
Registers the object properties.
(Overrides CMSDataContextBase ParentType RegisterProperties .) |
![]() | RegisterProperty(String, Func ObjectType, Object ) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | RegisterProperty(String, Object, Func ObjectType, Object, Object ) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | ![]() | Returns a string that represents the current object. (Inherited from ![]() |
![]() | TryGetProperty(String, Object ) |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | TryGetProperty(String, Object , Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
Extension Methods
Name | Description | |
---|---|---|
![]() | AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) |
![]() | GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) |
![]() | ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) |
![]() | ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
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 AbstractDataContainer ParentObjectType .) |
![]() | 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 CMSDataContextBase ParentType .) |
![]() | 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 CMSDataContextBase ParentType .) |
![]() | IsDisconnected |
Returns true if this object is disconnected from the database
(Inherited from CMSDataContextBase ParentType .) |
![]() | Item |
Gets the value of particular property
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | PropertyList |
Used property list
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | Queries |
Collection of queries indexed by their full name
|
![]() | RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | RootDocument |
Gets the root document of current site.
(Inherited from CMSDataContextBase ParentType .) |
![]() | Settings |
Gets the object encapsulating all the settings categories with its setting.
(Inherited from CMSDataContextBase ParentType .) |
![]() | SiteName |
Context site name.
(Inherited from CMSDataContextBase ParentType .) |
![]() | SiteObjects |
Returns the list of all site objects (entry point to site objects).
(Inherited from CMSDataContextBase ParentType .) |
![]() | Transformations |
Collection of transformations indexed by their full name
|
![]() | UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) |
![]() | UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .) |
![]() | WebPartLayouts |
Collection of web part layouts indexed by their full name
|
See Also