Click or drag to resize
CMSDataContextBase<ParentType> Class
Data context base
Inheritance Hierarchy
System.Object
  CMS.Base.AbstractSimpleDataContainer<ParentType>
    CMS.Base.AbstractDataContainer<ParentType>
      CMS.Base.AbstractHierarchicalObject<ParentType>
        CMS.DocumentEngine.CMSDataContextBase<ParentType>
          CMS.DocumentEngine.CMSDataContext
          CMS.DocumentEngine.CMSSiteDataContext

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public abstract class CMSDataContextBase<ParentType> : AbstractHierarchicalObject<ParentType>, 
	ICMSStorage
where ParentType : CMSDataContextBase<ParentType>

Type Parameters

ParentType

The CMSDataContextBase< ParentType> type exposes the following members.

Constructors
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 GlobalObjects and SiteObjects lists.
Protected methodLoadObjectType
Loads the given object type
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.
(Overrides AbstractHierarchicalObject<TObject>.RegisterProperties().)
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
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer<ParentObjectType>.)
Public propertyDocuments
Gets the collection of all documents on the site
Public propertyIsCachedObject
If true, the object is cached within the system for later use
Public propertyIsDisconnected
Returns true if this object is disconnected from the database
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObject<TObject>.)
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.
Public propertySettings
Gets the object encapsulating all the settings categories with its setting.
Public propertySiteName
Context site name.
Public propertySiteObjects
Returns the list of all site objects (entry point to site objects).
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
See Also