WeakReferenceListBaseT Class |
Namespace: VelocityDb.Collection
[SerializableAttribute] public abstract class WeakReferenceListBase<T> : OptimizedPersistable, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable where T : IOptimizedPersistable
The WeakReferenceListBaseT type exposes the following members.
Name | Description | |
---|---|---|
Count |
Number of items in list
| |
IsFixedSize |
Always false
| |
IsReadOnly |
Always false
| |
IsSynchronized |
Always false
| |
Item |
Gets or sets an item at a certain index
| |
SyncRoot |
Used for thread safety
|
Name | Description | |
---|---|---|
Add |
Adds an item to a list
| |
AddRange |
Adds the elements of the given collection to the end of this list.
| |
BinarySearch |
Searches the entire sorted list for an element using the default comparer and returns the zero-based index of the element.
| |
Clear |
Removes all items from the list and frees the array
| |
ClearAndUnpersistContainedObjects |
Removes all items from the list and unpersists all contained objects
| |
Contains |
Checks if an item is contained in the list
| |
CopyTo(Array, Int32) |
Copies list to an array
| |
CopyTo(T, Int32) |
Copies list items to an array
| |
GetEnumerator |
Returns an enumerator that iterates through the collection.
| |
IndexOf |
Finds the first index of an item
| |
Insert |
Inserts an item at a specified index
| |
InsertRange |
Inserts the elements of the given collection at a given index.
| |
Last |
Get the value at the last position in the list
| |
Persist |
Persists this object. Override in your subclasses when you want fields of your class to be persisted in some special way.
(Overrides OptimizedPersistablePersist(Placement, SessionBase, Boolean, Boolean, QueueIOptimizedPersistable).) | |
Remove |
Remove an item
| |
RemoveAt |
Removes an item at a specified index
| |
RemoveRange |
Removes a range of items
| |
Unpersist |
Removes an object from the persistent store and makes the object a transient object. It does not automatically make referenced objects unpersisted. Best way to do so is to override this virtual function in your own classes.
(Overrides OptimizedPersistableUnpersist(SessionBase).) |
Name | Description | |
---|---|---|
GetT | (Defined by GraphHelpers.) | |
ToStringDetails(SessionBase, Boolean) | Overloaded.
Object details as a string
(Defined by Utilities.) | |
ToStringDetails(Schema, TypeVersion, Boolean) | Overloaded.
Currently only used by Database Manager
(Defined by Utilities.) |