Skip to main content
.NET 8.0+

DynamicCollectionBase Members

An abstract class that serves as the base class for DynamicCollection.

Constructors

Name Description
DynamicCollectionBase(IObjectSpace, Type, CriteriaOperator, IList<SortProperty>, Boolean) Initializes a new instance of the DynamicCollectionBase class with specified settings.

Properties

Name Description
AllowEdit Specifies whether the collection is read-only. This property is implemented to support the IBindingList interface.
AllowNew Specifies whether new objects can be added to the collection. This property is implemented to support the IBindingList interface.
AllowRemove Specifies whether objects can be removed from the collection. This property is implemented to support the IBindingList interface.
Count Returns the count of objects in the collection. This property is implemented to support the ICollection interface.
Criteria Specifies criteria used to filter objects in the collection.
DeleteObjectOnRemove Specifies whether objects are deleted from a storage when they are removed from the collection.
DisplayableProperties For internal use.
InTransaction Specifies if the specified Criteria and Sorting parameters are applied to all objects (in the database and retrieved).
IsDisposed Specifies whether the collection has been disposed of. For internal use.
IsFixedSize Indicates whether the collection has a fixed size. This property is implemented to support the IList interface.
IsLoaded Indicates whether the collection was populated with objects.
IsReadOnly Specifies whether the collection is read-only. This property is implemented to support the IList interface.
IsSynchronized Indicates whether access to the collection is synchronized (thread safe). This property is implemented to support the ICollection interface.
Item[Int32] Gets or sets an object at the specified index. This property is implemented to support the IList interface.
ObjectSpace Returns the Object Space used to manipulate the collection’s objects.
ObjectType Returns the type of objects that the Objects collection can contain.
Sorting Specifies the list of SortProperty objects that specify the sort order for the collection.
SyncRoot Gets an object that can be used to synchronize access to the collection. This property is implemented to support the ICollection interface.
TopReturnedObjectsCount Specifies the maximum number of objects that can be retrieved from the collection.

Methods

Name Description
Add(Object) Adds the specified object to the collection. This method is implemented to support the IList interface.
Clear() Removes all objects from the collection. This method is implemented to support the IList interface.
Contains(Object) Checks whether the collection contains the specified object. This method is implemented to support the IList interface.
CopyTo(Array, Int32) Copies the collection to the specified array. This method is implemented to support the ICollection interface.
Dispose() Disposes of all resources this DynamicCollectionBase object uses. This method is implemented to support the IDisposable interface.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IndexOf(Object) Determines the index of the specified object in the collection. This method is implemented to support the IList interface.
Insert(Int32, Object) Inserts the specified object into the collection at the specified position. This method is implemented to support the IList interface.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reload() Clears the collection. The FetchObjects event will occur on the next access to this collection.
Remove(Object) Removes the specified object from the collection. This method is implemented to support the IList interface.
RemoveAt(Int32) Removes an object from the specified index in the collection. This method is implemented to support the IList interface.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
ListChanged Occurs when the collection contents are changed. This event is implemented to support the IBindingList interface.
Loaded Occurs after the collection was populated with objects.
See Also