The ObjectCollection TObject 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 | |
---|---|---|
ObjectCollection TObject |
Methods
Name | Description | |
---|---|---|
Add(IEnumerable TObject ) |
Adds new object to the collection.
| |
Add( TObject ) |
Adds new object to the collection.
| |
Clear |
Clears the current items in the collection.
| |
Clone |
Creates the clone of the collection.
| |
CloneCollection |
Creates the clone of this collection.
(Overrides AbstractObjectCollection CloneCollection .) | |
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 .) | |
CreateChild |
Creates the child collection based on the given provider
| |
CreateNewObject |
Creates new object for this collection.
| |
CreateQueryProvider |
Creates a LINQ query provider for this collection
| |
Disconnect |
Disconnects the collection from the database
(Inherited from AbstractObjectCollection.) | |
EnsureItems |
Ensures the specified number of items in the item list.
| |
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.) | |
GetCompleteWhereCondition |
Gets the complete where condition for the collection
(Inherited from AbstractObjectCollection.) | |
GetData |
Gets the data for the collection.
| |
GetEmptyObject |
Gets an empty object for this collection
| |
GetEnumerator |
Gets the enumerator for the collection.
| |
GetEnumeratorInternal |
Gets the enumerator for the collection.
| |
GetFullData |
Gets the data set of the data behind this collection
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetItem |
Gets the item on the specified index.
| |
GetNameWhereCondition |
Gets the where condition for the given object name.
| |
GetObjectByNameInternal |
Gets the object by its name, internal representation that gets data from database
| |
GetObjectEnumerator |
Gets the object enumerator for the collection
| |
GetObjectName(Object) |
Returns the name of the given object
| |
GetObjectName(TObject) |
Registers new object in this collection.
| |
GetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
GetPropertyType |
Gets the type of the given property
(Inherited from AbstractHierarchicalObject ObjectType .) | |
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 .) | |
MakeEmpty |
Makes the collection empty.
(Inherited from AbstractObjectCollection.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reconnect |
Reconnects the collection to the database
(Inherited from AbstractObjectCollection.) | |
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 AbstractSimpleDataContainer ParentObjectType RegisterColumns .) | |
RegisterProperties |
Registers the properties of this object
(Overrides AbstractHierarchicalObject ObjectType RegisterProperties .) | |
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.
| |
Remove( TObject ) |
Removes the specified object from the collection.
| |
SetProperty |
Gets the context property.
(Inherited from AbstractHierarchicalObject ObjectType .) | |
SetValue |
Sets the object value.
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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
| |
ValidateItem |
Validates whether the item can be member of the collection (collection can work with it). Returns true if item is valid.
|
Operators
Name | Description | |
---|---|---|
(ObjectCollection TObject to DataSet) |
Implicit operator for conversion from ObjectCollection class to DataSet
|
Extension Methods
Name | Description | |
---|---|---|
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetNamedEnumerator T |
Name enumerator over a collection
(Defined by DataExtensions.) | |
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.) | |
ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
ToList TObject, TTo |
Converts the given collection to a list of values
(Defined by BaseExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |
Fields
Name | Description | |
---|---|---|
mAllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
| |
mColumnNames |
Column names
| |
mCount |
Total number of items.
(Inherited from AbstractObjectCollection.) | |
mCountDifference |
Difference in count of the items from data source and current number of items
| |
mDeletedItems |
Deleted items removed from the collection.
| |
mDisconnectedCount |
Number of disconnected references for this collection
(Inherited from AbstractObjectCollection.) | |
mInstanceGuid |
Instance GUID
(Inherited from AbstractObjectCollection.) | |
mItems |
Items collection.
| |
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.
| |
mObjectsByName |
Objects by name.
| |
mPageSize |
Page size for loading of the items.
| |
mSourceData |
Source data for the collection
|
Properties
Name | Description | |
---|---|---|
AllowPaging |
If true, the paging of the data is allowed (data is loaded in batches).
| |
ColumnNames |
Available column names.
(Inherited from AbstractDataContainer ParentObjectType .) | |
Columns |
Columns to get.
(Inherited from AbstractObjectCollection.) | |
Count |
Returns the number of items.
| |
DynamicWhereCondition |
Dynamic where condition.
(Inherited from AbstractObjectCollection.) | |
ElementType |
Returns the element type.
| |
EnforceReadOnlyDataAccess |
If true, the read only access to the data is enforced within the transaction.
(Inherited from AbstractObjectCollection.) | |
Expression |
Query expression
| |
FirstItem |
Returns the first item of the collection
| |
InternalCount |
Internal count of the items
| |
IsCachedObject |
If true, the object is cached within the system for later use
(Inherited from AbstractObjectCollection.) | |
IsDisconnected |
Returns true if this collection is disconnected from the database
(Inherited from AbstractObjectCollection.) | |
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)
| |
Item Int32 |
Gets or sets the object on specific index.
| |
Item String |
Returns the object registered by the specific name.
| |
Items |
Returns the items collection.
| |
ItemsHaveNames |
Returns true if the items in the collection have names
| |
ItemType |
Result type
| |
LastItem |
Returns the last item of the collection
| |
LoadBinaryData |
Gets or sets the value which indicates whether to load binary data into the collections.
(Overrides AbstractObjectCollection LoadBinaryData.) | |
Name |
Collection name
(Inherited from AbstractObjectCollection.) | |
NameColumn |
Name column name
| |
ObjectsByName |
Objects by name collection.
| |
OrderBy |
Order by expression.
(Inherited from AbstractObjectCollection.) | |
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
| |
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
| |
SortNames |
If true, the names in enumeration are sorted
| |
TopN |
Select top N objects.
(Inherited from AbstractObjectCollection.) | |
UseLocalColumns |
If true, the object uses local columns
(Inherited from AbstractSimpleDataContainer ParentObjectType .) | |
UseLocalProperties |
If true, the object uses local properties
(Inherited from AbstractHierarchicalObject ObjectType .) | |
WhereCondition |
Where condition.
(Inherited from AbstractObjectCollection.) |
See Also