Chili.Opf3 Send comments on this topic.
Generic ObjectSet Class Methods
See Also 
Chili.Opf3 Namespace : Generic ObjectSet Class


For a list of all members of this type, see Generic ObjectSet members.

Public Methods

 NameDescription
Public MethodAdd Adds an item to the ObjectSet.  
Public MethodAddRangeOverloaded.   
Public MethodBinarySearchOverloaded.   
Public MethodClear Removes all items from the ObjectSet.  
Public MethodContains Determines whether the ObjectSet contains a specific object.  
Public MethodGeneric ConvertAll  
Public MethodCopyTo Copies the elements of the ObjectSet to an Array, starting at a particular Array index.  
Public MethodDistinct All duplicates in the ObjectSet are removed. Duplicates are identified by analyzing the identifiers.  
Public MethodExcept Creates the difference in quantities of this instance and another instance of ObjectSet. All objects being also in the second ObjectSet are removed. Duplicates are removed (they are identified by analyzing the identifiers of the persistent objects) and the current instance of the ObjectSet is sorted by identifiers. To have the instance resorted use the Sort routine of the ObjectSet.  
Public MethodExists Determines whether the ObjectSet contains elements that match the conditions defined by the specified predicate.  
Public MethodFind Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire ObjectSet.  
Public MethodFindAll Retrieves the all the elements that match the conditions defined by the specified predicate.  
Public MethodFindIndexOverloaded.   
Public MethodFindLast Searches for an element that matches the conditions defined by the specified predicate, and returns the last occurrence within the entire ObjectSet.  
Public MethodFindLastIndexOverloaded.   
Public MethodForEach Performs the specified action on each element of the ObjectSet.  
Public MethodGetEnumerator Returns an enumerator that iterates through the ObjectSet.  
Public MethodGetRange Creates a shallow copy of a range of elements in the source ObjectSet.  
Public MethodIndexOf Determines the index of a specific item in the ObjectSet.  
Public MethodInsert Inserts an item to the ObjectSet at the specified index.  
Public MethodInsertRange Inserts the elements of a collection into the ObjectSet at the specified index.  
Public MethodIntersect Creates the intersecting set of this instance and another instance of ObjectSet. Duplicates are removed (they are identified by analyzing the identifiers of the persistent objects) and the current instance of the ObjectSet is sorted by identifiers. To have the instance resorted use the Sort routine of the ObjectSet.  
Public MethodLastIndexOfOverloaded.   
Public MethodRemove Removes the first occurrence of a specific object from the ObjectSet to the RemovedList. All objects on the RemovedList are deleted when the changes on the ObjectSet are persisted.  
Public MethodRemoveAllOverloaded.   
Public MethodRemoveAt Moves the object at the specified index from the ObjectSet to the RemovedList. All objects on the RemovedList are deleted when the changes on the ObjectSet are persisted.  
Public MethodRemoveRange Removes a range of elements from the ObjectSet. They are moved to the RemovedList. All objects on the RemovedList are deleted when the changes on the ObjectSet are persisted.  
Public MethodReverseOverloaded.   
Public MethodSortOverloaded.   
Public MethodToArray Copies the elements of the ObjectSet to a new array.  
Public MethodToStringOverridden.  Returns the string representation for the object.  
Public MethodTrimExcess Sets the capacity to the actual number of elements in the ObjectSet.  
Public MethodTrueForAll Determines whether every element in the ObjectSet matches the conditions defined by the specified predicate.  
Public MethodUnion Unites this instance with another instance of ObjectSet. Duplicates are removed (they are identified by analyzing the identifiers of the persistent objects) and the current instance of the ObjectSet is sorted by identifiers. To have the instance resorted use the Sort routine of the ObjectSet.  
Top

Protected Methods

 NameDescription
Protected MethodLoad This method is called during load from the storage by the ObjectContext class.  
Protected MethodPersist This routine is called by the ObjectContext during save operations on the storage. Attention: The ICustomPersister should only add an object to the PersistingTrace (set as argument) if not using the ObjectContext to save it's persistent object.  
Top

See Also