VelocityDbListT Class |
Namespace: VelocityDb.Collection
[SerializableAttribute] public class VelocityDbList<T> : OptimizedPersistable, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
The VelocityDbListT type exposes the following members.
Name | Description | |
---|---|---|
VelocityDbListT |
Constructs an empty list
| |
VelocityDbListT(Int32) |
Constructs a new list with a presized capacity
|
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
| |
ObjectsPerPage |
Limit to 1000 per page (instead of default 40000)
(Overrides OptimizedPersistableObjectsPerPage.) | |
SyncRoot |
Used for thread safety
|
Name | Description | |
---|---|---|
Add(T) |
Adds an item to a list
| |
Add(T, Int32) |
Adds an item to a list and if array needs to grow to hold new item, it grows to a given max size.
| |
AddRange |
Adds the elements of the given collection to the end of this list.
| |
BinarySearch |
Assuming list elements are sorted by default sort order, finds the position of a an element or position where it would belong
| |
Clear |
Removes all items from the list and frees the array
| |
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 | ||
IndexOf |
Finds the first index of an item
| |
Insert(Int32, T) |
Inserts an item at a specified index
| |
Insert(Int32, T, Int32) |
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
| |
PersistMyReferences | (Overrides OptimizedPersistablePersistMyReferences(SessionBase, Boolean).) | |
Remove |
Remove an item
| |
RemoveAt |
Removes an item at a specified index
| |
RemoveRange |
Removes a range of items
|
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.) |