IInfoObjectCollectionTInfo Interface |
Namespace: CMS.DataEngine
public interface IInfoObjectCollection<out TInfo> : IInfoObjectCollection, IComparable, INamedEnumerable, IEnumerable, IIndexable, INameIndexable, IVirtualTypedCollection, ITypedCollection, ICMSQueryable, IMacroSecurityCheckPermissions, ICMSQueryable<TInfo>, IOrderedQueryable<TInfo>, IQueryable<TInfo>, IEnumerable<TInfo>, IQueryable, IOrderedQueryable, INamedEnumerable<TInfo>, IIndexable<TInfo>, INameIndexable<TInfo> where TInfo : BaseInfo
The IInfoObjectCollectionTInfo type exposes the following members.
Name | Description | |
---|---|---|
AllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from IInfoObjectCollection.) | |
CheckLicense |
If true, the collection check license when getting data
(Inherited from IInfoObjectCollection.) | |
CodeNames |
Collection of the object code names
(Inherited from IInfoObjectCollection.) | |
Columns |
Columns to get.
(Inherited from IInfoObjectCollection.) | |
Count |
Number of total items in the collection
(Inherited from ICMSQueryable.) | |
DisplayNames |
Collection of the object display names
(Inherited from IInfoObjectCollection.) | |
DynamicWhereCondition |
Dynamic where condition.
(Inherited from IInfoObjectCollection.) | |
EnforceReadOnlyDataAccess |
If true, the read only access to the data is enforced within the transaction.
(Inherited from IInfoObjectCollection.) | |
FieldsAsObjects |
Related objects wrappers
(Inherited from IInfoObjectCollection.) | |
FirstItem |
Returns the first item of the collection
| |
GUIDs |
Collection of the object GUIDs
(Inherited from IInfoObjectCollection.) | |
IDs |
Collection of the object IDs
(Inherited from IInfoObjectCollection.) | |
IsLastVersion |
If true, the document is the last version (retrieved using DocumentHelper.GetDocument).
(Inherited from IInfoObjectCollection.) | |
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
(Inherited from IInfoObjectCollection.) | |
ItemsHaveNames |
Returns true if the items in the collection have names
(Inherited from INamedEnumerable.) | |
ItemType |
Result type
(Inherited from ITypedCollection.) | |
LastItem |
Returns the last item of the collection
| |
LoadBinaryData |
Gets or sets the value which indicates whether to load binary data into the collections.
(Inherited from IInfoObjectCollection.) | |
Name |
Collection name
(Inherited from IInfoObjectCollection.) | |
NameColumn |
Name column name
(Inherited from IInfoObjectCollection.) | |
Object |
Object instance of the specified type.
(Inherited from IInfoObjectCollection.) | |
ObjectType |
Returns the object type of the objects stored within the collection.
(Inherited from IInfoObjectCollection.) | |
OrderByColumns |
Columns list of SQL order by expression (e.g.: 'UserName, UserID DESC')
(Inherited from IInfoObjectCollection.) | |
ParentObject |
Parent object. Instance of object which contains this collection as it's inner field.
(Inherited from IInfoObjectCollection.) | |
SiteID |
Site ID to filter the collection to a particular site
(Inherited from IInfoObjectCollection.) | |
SortNames |
Specifies whether the names should be sorted or not
(Inherited from INamedEnumerable.) | |
SourceData |
Source data for the collection
(Inherited from IInfoObjectCollection.) | |
TopN |
Select top N objects.
(Inherited from IInfoObjectCollection.) | |
TypeInfo |
Type info for the collection object.
(Inherited from IInfoObjectCollection.) | |
UseDefaultCacheDependencies |
If true, the collection uses default cache dependencies to flush it's content
(Inherited from IInfoObjectCollection.) | |
UseObjectTypeCondition |
If true, the collection uses the type condition to get the data
(Inherited from IInfoObjectCollection.) | |
Where |
Where condition.
(Inherited from IInfoObjectCollection.) |
Name | Description | |
---|---|---|
Add(BaseInfo) |
Adds new object to the collection.
(Inherited from IInfoObjectCollection.) | |
Add(IEnumerableBaseInfo) |
Adds new object to the collection.
(Inherited from IInfoObjectCollection.) | |
AsTType |
Makes a wrapper of the collection with specified type of the items.
(Inherited from IInfoObjectCollection.) | |
ChangeParent |
Changes the parent of the collection
(Inherited from IInfoObjectCollection.) | |
ClearCache |
Clears the collection cache
(Inherited from IInfoObjectCollection.) | |
CloneCollection |
Creates the clone of this collection.
(Inherited from IInfoObjectCollection.) | |
CreateChild |
Creates the child collection based on the given provider
(Inherited from ICMSQueryableTObject.) | |
Disconnect |
Disconnects the collection from the database
(Inherited from IInfoObjectCollection.) | |
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
(Inherited from IInfoObjectCollection.) | |
GetItemsAsFields |
Returns the updatable collection of fields of collection items
(Inherited from IInfoObjectCollection.) | |
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.) | |
GetSubsetWhere |
Returns the clone of the collection with specified where condition applied
| |
GetSubsetWhereNotEmpty |
Returns the clone of the collection with specified column not being empty
| |
Load |
Clears the data in the collection and loads objects from the given list.
(Inherited from IInfoObjectCollection.) | |
SubmitChanges |
Submits the changes in the collection to the database.
(Inherited from IInfoObjectCollection.) |
Name | Description | |
---|---|---|
BatchTInfo |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) | |
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.) |