The BindingRepository type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
| Name | Description | |
|---|---|---|
| BindingRepository(BaseInfo) | 
            Constructor.
              | |
| BindingRepository(ICMSStorage) | 
            Constructor.
              | 
Methods
| Name | Description | |
|---|---|---|
| Add | 
            Adds new object to the collection.
              (Inherited from InfoObjectRepository.) | |
| AddCollection(String) | 
            Registers the given collection of objects within the repository. Includes all the objects of given type.
              (Inherited from InfoObjectRepository.) | |
| AddCollection(String, String, String, String, Int32, String) | 
            Registers the given collection of objects within the repository.
              (Inherited from InfoObjectRepository.) | |
| AddCollection(String, String, String, String, Int32, String, Int32) | 
            Registers the given collection of objects within the repository.
              (Inherited from InfoObjectRepository.) | |
| Disconnect | 
            Disconnects the collections from the database
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
|  (Inherited from  | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.  (Inherited from  | ||
| GetCollection | 
            Returns the collection of objects indexed by object type, e.g. "cms.user".
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| GetEnumerator | 
            Gets the enumerator for the collection.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
Serves as a hash function for a particular type.   (Inherited from  | ||
| GetNicePropertyName | 
            Gets the property name for the original name of the collection
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| GetObjectName | 
            Returns the name of the given object
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| GetProperty | 
            Gets the property value.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
Gets the   (Inherited from  | ||
| LoadCollection | 
            Loads the given collection.
              (Inherited from InfoObjectRepository.) | |
Creates a shallow copy of the current   (Inherited from  | ||
| NewCollection | 
            Creates new collection for the data.
              (Inherited from InfoObjectRepository.) | |
| NewCollectionInternal | 
            Creates a new collection
              (Overrides InfoObjectRepository NewCollectionInternal(String).) | |
| NewCombinedCollection | 
            Creates new combined collection for the data.
              (Inherited from InfoObjectRepository.) | |
| Reconnect | 
            Reconnects the collection to the database
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| RegisterNiceName | 
            Registers the nice name of the collection
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| ReplaceCollection | 
            Registers the given collection of objects within the repository.
              (Inherited from InfoObjectRepository.) | |
| SubmitChanges | 
            Submits the changes to the database.
              (Inherited from InfoObjectRepository.) | |
Returns a string that represents the current object.  (Inherited from  | ||
| TryGetProperty | 
            Returns value of property.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | 
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.) | 
Fields
| Name | Description | |
|---|---|---|
| mAll | 
            Collection of all underlying objects.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mCollections | 
            Table of collections [name -> CollectionType]
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mCollectionSettings | 
            Table of collection settings [name -> InfoCollectionSettings]
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mCollectionSettingsByIndex | 
            Table of collection settings by index [index -> InfoCollectionSettings]
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mCollectionsList | 
            List of all collections (sorted by the order in which the collections were added).
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mCount | 
            Number of the inner collections.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mDisconnectedCount | 
            Number of disconnected references for this collection 
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mDynamicNames | 
            List of dynamic names of the collections
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mLoadBinaryData | 
            Indicates whether to load binary data into the collections of the repository.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mNiceNames | 
            Translation of collection nice names to a normal names [niceName -> name]
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| mProperties | 
            Properties of the object available through GetProperty.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | 
Properties
| Name | Description | |
|---|---|---|
| All | 
            All items from all underlying collections.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| AllowNiceNames | 
            If true, the repository allows nice names of the collections, e.g. for "CMS.User" uses "Users"
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| CollectionNames | 
            Returns list of collection names in the repository.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| Count | 
            Returns the number of items.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| DynamicNames | 
            List of the dynamic names of the collections
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| GetDynamicNames | 
            Function that provides the dynamic names of collections to the repository
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| IsCachedObject | 
            If true, the object is cached within the system for later use
              (Inherited from InfoObjectRepository.) | |
| IsDisconnected | 
            Returns true if the repository is disconnected from the data source
              (Inherited from InfoObjectRepository.) | |
| Item String | 
            Returns the collection of objects indexed by object type, e.g. "cms.user".
              | |
| Item Int32 | 
            Returns the collection of objects.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| ItemsHaveNames | 
            Returns true if the items in the collection have names
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| LoadBinaryData | 
            Gets or sets the value which indicates whether to load binary data into the collections.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| ParentObject | 
            Parent object.
              (Inherited from InfoObjectRepository.) | |
| ParentStorage | 
            Parent storage
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| Properties | 
            Properties of the object available through GetProperty.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| Sites | 
            Site bindings
              | |
| SortNames | 
            If true, the names in enumeration are sorted
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | 
Events
| Name | Description | |
|---|---|---|
| OnLoadCollection | 
            Fires when the collection with specified name is requested.
              (Inherited from ObjectRepository TCollection, TObject, TSettings .) | |
| OnNewCollection | 
            Event fired when new collection instance is requested
              (Inherited from InfoObjectRepository.) | 
See Also