Click or drag to resize
BindingRepository Class
Specialized repository for binding object types
Inheritance Hierarchy
System.Object
  CMS.DataEngine.InfoObjectRepository<IInfoObjectCollection<BaseInfo>, BaseInfo, InfoCollectionSettings>
    CMS.DataEngine.InfoObjectRepository
      CMS.DataEngine.BindingRepository

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public class BindingRepository : InfoObjectRepository

The BindingRepository type exposes the following members.

Constructors
  NameDescription
Public methodBindingRepository(BaseInfo)
Constructor.
Public methodBindingRepository(ICMSStorage)
Constructor.
Top
Properties
  NameDescription
Public propertyAll
All items from all underlying collections.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyAllowNiceNames
If true, the repository allows nice names of the collections, e.g. for "CMS.User" uses "Users"
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyCollectionNames
Returns list of collection names in the repository.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected propertyCollections
Table of collections [name -> CollectionType]
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected propertyCollectionSettings
Table of collection settings [name -> InfoCollectionSettings]
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected propertyCollectionSettingsByIndex
Table of collection settings by index [index -> InfoCollectionSettings]
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected propertyCollectionsList
List of all collections (sorted by the order in which the collections were added).
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyCount
Returns the number of items.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyDynamicNames
List of the dynamic names of the collections
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyGetDynamicNames
Function that provides the dynamic names of collections to the repository
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyIsCachedObject
If true, the object is cached within the system for later use
(Inherited from InfoObjectRepository.)
Public propertyIsDisconnected
Returns true if the repository is disconnected from the data source
(Inherited from InfoObjectRepository.)
Public propertyItem[String]
Returns the collection of objects indexed by object type, e.g. "cms.user".
Public propertyItem[Int32]
Returns the collection of objects.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyItemsHaveNames
Returns true if the items in the collection have names
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyLoadBinaryData
Gets or sets the value which indicates whether to load binary data into the collections.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyParentObject
Parent object.
(Inherited from InfoObjectRepository.)
Public propertyParentStorage
Parent storage
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertyProperties
Properties of the object available through GetProperty.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public propertySites
Site bindings
Public propertySortNames
If true, the names in enumeration are sorted
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Top
Methods
  NameDescription
Public methodAdd
Adds new object to the collection.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodAddCollection(String)
Registers the given collection of objects within the repository. Includes all the objects of given type.
(Inherited from InfoObjectRepository.)
Public methodAddCollection<CollectionType>(InfoCollectionSettings)
Registers the given collection of objects within the repository.
(Inherited from InfoObjectRepository.)
Public methodDisconnect
Disconnects the collections from the database
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected methodGetCollection
Returns the collection of objects indexed by object type, e.g. "cms.user".
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodGetEnumerator
Gets the enumerator for the collection.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodGetNicePropertyName
Gets the property name for the original name of the collection
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodGetObjectName
Returns the name of the given object
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodGetProperty
Gets the property value.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected methodLoadCollection
Loads the given collection.
(Inherited from InfoObjectRepository.)
Public methodNewCollection
Creates new collection for the data.
(Inherited from InfoObjectRepository.)
Protected methodNewCollectionInternal
Creates a new collection
(Overrides InfoObjectRepository.NewCollectionInternal(String).)
Public methodNewCombinedCollection
Creates new combined collection for the data.
(Inherited from InfoObjectRepository.)
Public methodReconnect
Reconnects the collection to the database
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected methodRegisterNiceName
Registers the nice name of the collection
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodReplaceCollection
Registers the given collection of objects within the repository.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected methodSetupCollection
Sets up the collection using the given settings
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Protected methodStoreCollection
Stores the collection into inner lists
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodSubmitChanges
Submits the changes to the database.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public methodTryGetProperty
Returns value of property.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Top
Events
  NameDescription
Public eventOnLoadCollection
Fires when the collection with specified name is requested.
(Inherited from InfoObjectRepository<TCollection, TObject, TSettings>.)
Public eventOnNewCollection
Event fired when new collection instance is requested
(Inherited from InfoObjectRepository.)
Top
See Also