The InfoObjectCollection type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
InfoObjectCollection |
Constructor
|
Methods
Name | Description | |
---|---|---|
Add(IEnumerable TObject ) |
Adds new object to the collection.
(Inherited from ObjectCollection TObject .) | |
Add( BaseInfo ) |
Adds new object to the collection.
(Overrides ObjectCollection TObject Add( TObject ).) | |
AddCacheDependencies |
Adds the given list of cache dependencies to the collection
| |
As TargetType |
Makes a wrapper of the collection with specified type of the items.
| |
CacheDependenciesChanged |
Ensures the actions when the cache dependencies have changed
| |
Clear |
Clears the current items in the collection.
(Inherited from ObjectCollection TObject .) | |
ClearCache |
Clears the collection cache
| |
ClearCacheCallback |
Clears the collection cache
| |
Clone |
Creates the clone of the collection.
(Overrides ObjectCollection TObject Clone .) | |
CloneCollection |
Creates the clone of this collection.
(Inherited from ObjectCollection TObject .) | |
CombineWith |
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 ObjectType .) | |
CompareTo |
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
(Inherited from AbstractObjectCollection.) | |
ContainsColumn |
Returns true if specified column is available in current structure.
(Inherited from AbstractDataContainer ParentObjectType .) | |
CopyPropertiesTo |
Copies the properties of this collection to the other collection
| |
CreateChild |
Creates the child collection based on the given provider
(Inherited from ObjectCollection TObject .) | |
CreateNewObject |
Creates new instance of the encapsulated object.
(Overrides ObjectCollection TObject CreateNewObject(DataRow).) | |
CreateQueryProvider |
Creates a LINQ query provider for this collection
(Inherited from ObjectCollection TObject .) | |
Disconnect |
Disconnects the collection from the database
(Inherited from AbstractObjectCollection.) | |
Dispose |
Disposes the object
| |
EnsureItems |
Ensures the specified number of items in the item list.
(Inherited from ObjectCollection TObject .) | |
EnsureObjectValues |
Ensures the proper values for the given object
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetCacheDependencyKeys |
Gets the list of cache dependency keys on which this collection depends
| |
GetCompleteWhereCondition |
Gets the complete where condition for the collection
(Overrides AbstractObjectCollection GetCompleteWhereCondition .) | |
GetData |
Gets the data for the collection.
(Overrides ObjectCollection TObject GetData(String, Int32, Int32, Int32 ).) | |
GetEmptyObject |
Gets an empty object for this collection
(Inherited from ObjectCollection TObject .) | |
GetEnumerator |
Gets the enumerator for the collection.
(Inherited from ObjectCollection TObject .) | |
GetEnumeratorInternal |
Gets the enumerator for the collection.
(Inherited from ObjectCollection TObject .) | |
GetFieldsAsObjects(String) |
Gets the collection of objects that are referenced by the given property
| |
GetFieldsAsObjects(String, String) |
Gets the collection of objects that are referenced by the given property
| |
GetFullData |
Gets the data set of the data behind this collection
(Inherited from ObjectCollection TObject .) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetItem |
Gets the item on the specified index.
(Overrides ObjectCollection TObject GetItem(Int32).) | |
GetItemsAsFields |
Returns the updatable collection of fields of collection items
| |
GetNameWhereCondition |
Gets the where condition for the given object name.
(Overrides ObjectCollection TObject GetNameWhereCondition(String).) | |
GetObjectByNameInternal |
Gets the object by its name, internal representation that gets data from database
(Overrides ObjectCollection TObject GetObjectByNameInternal(String).) | |
GetObjectEnumerator |
Gets the object enumerator for the collection
(Inherited from ObjectCollection TObject .) | |
GetObjectName(Object) |
Returns the name of the given object
(Inherited from ObjectCollection TObject .) | |
GetObjectName(BaseInfo) |
Gets the unique object name from the given object.
(Overrides ObjectCollection TObject GetObjectName(TObject).) | |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .) | |
GetSubsetOrderBy |
Returns the clone of the collection with specified order by applied
| |
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
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Gets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
HasSetter |
Returns true if given property has a setter
(Inherited from AbstractHierarchicalObject ObjectType .) | |
ChangeParent |
Changes the parent of the collection
| |
Init |
Initializes the collection to use specific object type
| |
Load |
Clears the data in the collection and loads objects from the given list.
| |
MakeEmpty |
Makes the collection empty.
(Inherited from AbstractObjectCollection.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
New |
Constructor
| |
Reconnect |
Reconnects the collection to the database
(Inherited from AbstractObjectCollection.) | |
RegisterClearCacheCallback |
Registers the callback to clear the collection cache
| |
RegisterColumn(String, Func ParentObjectType, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumn(String, Func ParentObjectType, Object , Func ParentObjectType, Object, Object ) |
Registers the given Column to the object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisterColumns |
Registers the Columns of this object
(Overrides ObjectCollection TObject RegisterColumns .) | |
RegisterProperties |
Registers the properties of this object
(Overrides ObjectCollection TObject RegisterProperties .) | |
RegisterProperties(List String ) |
Registers supported properties
| |
RegisterProperty(String, Func ObjectType, Object ) |
Registers the given property to the object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisterProperty(String, Object, Func ObjectType, Object, Object ) |
Registers the given parameterized property to the object.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
Remove(IEnumerable TObject ) |
Removes the specified object from the collection.
(Inherited from ObjectCollection TObject .) | |
Remove( TObject ) |
Removes the specified object from the collection.
(Inherited from ObjectCollection TObject .) | |
RemoveClearCacheCallback |
Removes the callback to clear the collection cache
| |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
SubmitChanges |
Submits the changes in the collection to the database.
| |
ToString |
Provides a string representation of the collection
(Overrides Object ToString .) | |
TryGetProperty(String, Object ) |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
TryGetProperty(String, Object , Boolean) |
Returns value of property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
TryGetValue |
Returns value of column.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
UseData |
Initializes the collection with the given source data
(Inherited from ObjectCollection TObject .) | |
ValidateItem |
Validates whether the item can be member of the collection (collection can work with it). Returns true if item is valid.
(Overrides ObjectCollection TObject ValidateItem(TObject, Boolean).) |
Extension Methods
Name | Description | |
---|---|---|
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 | |
---|---|---|
mAllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from ObjectCollection TObject .) | |
mAutomaticNameColumn |
If true, the automatic name column is used within this collection
| |
mColumnNames |
Column names
(Inherited from ObjectCollection TObject .) | |
mCount |
Total number of items.
(Inherited from AbstractObjectCollection.) | |
mCountDifference |
Difference in count of the items from data source and current number of items
(Inherited from ObjectCollection TObject .) | |
mDeletedItems |
Deleted items removed from the collection.
(Inherited from ObjectCollection TObject .) | |
mDisconnectedCount |
Number of disconnected references for this collection
(Inherited from AbstractObjectCollection.) | |
mFieldsAsObjects |
Related objects wrappers
| |
mInstanceGuid |
Instance GUID
(Inherited from AbstractObjectCollection.) | |
mItems |
Items collection.
(Inherited from ObjectCollection TObject .) | |
mItemsAsFields |
Fields wrappers
| |
mLoadBinaryData |
Indicates whether to load binary data into the collections.
(Inherited from AbstractObjectCollection.) | |
mName |
Collection name
(Inherited from AbstractObjectCollection.) | |
mNewItems |
New items added to the collection.
(Inherited from ObjectCollection TObject .) | |
mObject |
Object instance of specified type.
| |
mObjectsByName |
Objects by name.
(Inherited from ObjectCollection TObject .) | |
mObjectType |
Object type.
| |
mOrderBy |
Order by expression.
| |
mPageSize |
Page size for loading of the items.
(Inherited from ObjectCollection TObject .) | |
mParentObject |
Parent object instance
| |
mSourceData |
Source data for the collection
(Inherited from ObjectCollection TObject .) | |
ObjectInitializer |
Provides a way how to initialize the object instance based on given data
|
Properties
Name | Description | |
---|---|---|
AllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
(Inherited from ObjectCollection TObject .) | |
CodeNames |
Collection of the object code names
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .) | |
Columns |
Columns to get.
(Inherited from AbstractObjectCollection.) | |
Count |
Returns the number of items.
(Inherited from ObjectCollection TObject .) | |
DisplayNames |
Collection of the object display names
| |
DynamicWhereCondition |
Dynamic where condition.
(Inherited from AbstractObjectCollection.) | |
ElementType |
Returns the element type.
(Inherited from ObjectCollection TObject .) | |
EnforceReadOnlyDataAccess |
If true, the read only access to the data is enforced within the transaction.
(Inherited from AbstractObjectCollection.) | |
Expression |
Query expression
(Inherited from ObjectCollection TObject .) | |
FieldsAsObjects |
Related objects wrappers
| |
FirstItem |
Returns the first item of the collection
(Inherited from ObjectCollection TObject .) | |
GUIDs |
Collection of the object GUIDs
| |
CheckLicense |
If true, the collection check license when getting data
| |
IDs |
Collection of the object IDs
| |
InternalCount |
Internal count of the items
(Overrides ObjectCollection TObject InternalCount.) | |
IsCachedObject |
If true, the object is cached within the system for later use
(Overrides AbstractObjectCollection IsCachedObject.) | |
IsDisconnected |
Returns true if the collection is disconnected from the data source
(Overrides AbstractObjectCollection IsDisconnected.) | |
IsLastVersion |
If true, the document is the last version (retrieved using DocumentHelper.GetDocument).
(Inherited from AbstractObjectCollection.) | |
IsOffline |
Returns true, if the collection is offline (not backed up by the database but by the source data)
(Inherited from ObjectCollection TObject .) | |
Item Int32 |
Gets or sets the object on specific index.
(Inherited from ObjectCollection TObject .) | |
Item String |
Returns the object registered by the specific name.
(Inherited from ObjectCollection TObject .) | |
Items |
Returns the items collection.
(Inherited from ObjectCollection TObject .) | |
ItemsAsFields |
Fields wrappers
| |
ItemsHaveNames |
Returns true if the items in the collection have names
(Inherited from ObjectCollection TObject .) | |
ItemType |
Result type
(Inherited from ObjectCollection TObject .) | |
LastItem |
Returns the last item of the collection
(Inherited from ObjectCollection TObject .) | |
LoadBinaryData |
Gets or sets the value which indicates whether to load binary data into the collections.
(Inherited from ObjectCollection TObject .) | |
Name |
Collection name. Returns object type if name is not defined
(Overrides AbstractObjectCollection Name.) | |
NameColumn |
Name column name
(Overrides ObjectCollection TObject NameColumn.) | |
Object |
Object instance of the specified type.
| |
ObjectsByName |
Objects by name collection.
(Inherited from ObjectCollection TObject .) | |
ObjectType |
Returns the object type of the objects stored within the collection.
| |
OrderBy |
Order by expression.
(Overrides AbstractObjectCollection OrderBy.) | |
ParentObject |
Parent object.
| |
ParentStorage |
Parent storage
(Inherited from AbstractObjectCollection.) | |
Properties |
Properties available through the context.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
PropertyList |
Used property list
(Inherited from AbstractHierarchicalObject ObjectType .) | |
Provider |
Query provider
(Inherited from ObjectCollection TObject .) | |
RegisteredColumns |
Registered Columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisteredColumnsObject |
Registered Columns object
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
RegisteredProperties |
Registered properties
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RegisteredPropertiesObject |
Registered properties object
(Inherited from AbstractHierarchicalObject ObjectType .) | |
RemovedObject |
Defines the removed object within collection
(Inherited from ObjectCollection TObject .) | |
SearchText |
If set, the collection filters objects to only those containing the given text
| |
SiteID |
Site ID to filter the collection to a particular site
| |
SortNames |
If true, the names in enumeration are sorted
(Inherited from ObjectCollection TObject .) | |
TopN |
Select top N objects.
(Inherited from AbstractObjectCollection.) | |
TypeInfo |
Type info for the collection object.
| |
UseDefaultCacheDependencies |
If true, the collection uses default cache dependencies to flush it's content
| |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .) | |
UseObjectTypeCondition |
If true, the collection uses the type condition to get the data
| |
WhereCondition |
Where condition.
(Inherited from AbstractObjectCollection.) |
See Also