| IInfoObjectCollection Interface |
Namespace: CMS.DataEngine
public interface IInfoObjectCollection : IComparable, INamedEnumerable, IEnumerable, IIndexable, INameIndexable, IVirtualTypedCollection, ITypedCollection, ICMSQueryable, IMacroSecurityCheckPermissions
The IInfoObjectCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| AllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
| |
| CheckLicense |
If true, the collection check license when getting data
| |
| CodeNames |
Collection of the object code names
| |
| Columns |
Columns to get.
| |
| Count |
Number of total items in the collection
(Inherited from ICMSQueryable.) | |
| DisplayNames |
Collection of the object display names
| |
| DynamicWhereCondition |
Dynamic where condition.
| |
| EnforceReadOnlyDataAccess |
If true, the read only access to the data is enforced within the transaction.
| |
| FieldsAsObjects |
Related objects wrappers
| |
| GUIDs |
Collection of the object GUIDs
| |
| IDs |
Collection of the object IDs
| |
| IsLastVersion |
If true, the document is the last version (retrieved using DocumentHelper.GetDocument).
| |
| IsOffline |
Returns true if the given collection is offline (disconnected from the database)
(Inherited from ICMSQueryable.) | |
| ItemInt32 |
Integer indexer, gets or sets the value on the specified index
(Inherited from IIndexable.) | |
| ItemString |
String indexer, gets or sets the value with the specified name
(Inherited from INameIndexable.) | |
| ItemsAsFields |
Fields wrappers
| |
| ItemsHaveNames |
Returns true if the items in the collection have names
(Inherited from INamedEnumerable.) | |
| ItemType |
Result type
(Inherited from ITypedCollection.) | |
| LoadBinaryData |
Gets or sets the value which indicates whether to load binary data into the collections.
| |
| Name |
Collection name
| |
| NameColumn |
Name column name
| |
| Object |
Object instance of the specified type.
| |
| ObjectType |
Returns the object type of the objects stored within the collection.
| |
| OrderByColumns |
Columns list of SQL order by expression (e.g.: 'UserName, UserID DESC')
| |
| ParentObject |
Parent object. Instance of object which contains this collection as it's inner field.
| |
| SiteID |
Site ID to filter the collection to a particular site
| |
| SortNames |
Specifies whether the names should be sorted or not
(Inherited from INamedEnumerable.) | |
| SourceData |
Source data for the collection
| |
| TopN |
Select top N objects.
| |
| TypeInfo |
Type info for the collection object.
| |
| UseDefaultCacheDependencies |
If true, the collection uses default cache dependencies to flush it's content
| |
| UseObjectTypeCondition |
If true, the collection uses the type condition to get the data
| |
| Where |
Where condition.
|
| Name | Description | |
|---|---|---|
| Add(BaseInfo) |
Adds new object to the collection.
| |
| Add(IEnumerableBaseInfo) |
Adds new object to the collection.
| |
| AsTType |
Makes a wrapper of the collection with specified type of the items.
| |
| ChangeParent |
Changes the parent of the collection
| |
| ClearCache |
Clears the collection cache
| |
| CloneCollection |
Creates the clone of this collection.
| |
| Disconnect |
Disconnects the collection from the database
| |
| GetEmptyObject |
Gets the virtual empty object representing the collection item
(Inherited from IVirtualTypedCollection.) | |
| GetFieldsAsObjects |
Gets the collection of objects that are referenced by the given property
| |
| GetItemsAsFields |
Returns the updatable collection of fields of collection items
| |
| GetObjectName |
Returns the name of the given object
(Inherited from INamedEnumerable.) | |
| GetObjectToCheck |
Gets an object for which to perform the permissions check. This can be the class' instance itself or an object it encapsulates.
(Inherited from IMacroSecurityCheckPermissions.) | |
| Load |
Clears the data in the collection and loads objects from the given list.
| |
| SubmitChanges |
Submits the changes in the collection to the database.
|
| Name | Description | |
|---|---|---|
| GetNamedEnumeratorT |
Name enumerator over a collection
(Defined by DataExtensions.) | |
| ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
| ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |