Click or drag to resize
ConnectionContext Class
Connection context.
Inheritance Hierarchy
System.Object
  CMS.Base.AbstractSimpleDataContainer<ConnectionContext>
    CMS.Base.AbstractDataContainer<ConnectionContext>
      CMS.Base.AbstractHierarchicalObject<ConnectionContext>
        CMS.Base.ContextContainer<ConnectionContext>
          CMS.Base.AbstractContext<ConnectionContext>
            CMS.DataEngine.ConnectionContext

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public class ConnectionContext : AbstractContext<ConnectionContext>, 
	INotCopyThreadItem

The ConnectionContext type exposes the following members.

Constructors
  NameDescription
Public methodConnectionContext
Top
Properties
  NameDescription
Public propertyColumnNames
Available column names.
(Inherited from AbstractDataContainer<ParentObjectType>.)
Public propertyStatic memberCurrentConnectionScope
Request connection scope.
Public propertyStatic memberCurrentScopeConnection
Current DB connection to use within current connection scope.
Public propertyIsDefault
Returns true if the context is the default request context
(Inherited from ContextContainer<TParent>.)
Public propertyItem
Gets the value of particular property
(Inherited from AbstractHierarchicalObject<TObject>.)
Public propertyKey
Unique container key
(Inherited from ContextContainer<TParent>.)
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>.)
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 methodClearCurrent
Clears the current context value
(Inherited from ContextContainer<TParent>.)
Public methodCloneForNewThread
Clones the object for new thread
(Inherited from AbstractContext<TContext>.)
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 methodStatic memberDisposeThreadScope
Disposes the CMSConnectionScope for current thread.
Public methodEnsureCurrent (Inherited from ContextContainer<TParent>.)
Public methodStatic memberEnsureThreadScope
Ensures the CMSConnectionScope for current thread.
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 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 properties of this object
(Inherited from AbstractHierarchicalObject<TObject>.)
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 methodSetAsCurrent
Sets the current instance as the current thread item
(Inherited from ContextContainer<TParent>.)
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