[This is preliminary documentation and is subject to change.]
This interface holds the result from executing a query against
the storage. It loads the requested objects lazily, they will only
be created once they are referenced.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public interface ObjectList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Public Interface ObjectList(Of T) _ Implements IList(Of T), ICollection(Of T), _ IEnumerable(Of T), IEnumerable
generic<typename T> public interface class ObjectList : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Generic Template Parameters
- T
[Missing <typeparam name="T"/> documentation for "T:Sorm.Interfaces.ObjectList`1"]
Members
All Members | Methods | Properties | |||
Icon | Member | Description |
---|---|---|
Add(T) | Adds an item to the ICollection<(Of <(T>)>). (Inherited from ICollection<(Of <(T>)>).) | |
Clear()()() | Removes all items from the ICollection<(Of <(T>)>). (Inherited from ICollection<(Of <(T>)>).) | |
Contains(T) | Determines whether the ICollection<(Of <(T>)>) contains a specific value. (Inherited from ICollection<(Of <(T>)>).) | |
CopyTo(array<T>[]()[], Int32) | Copies the elements of the ICollection<(Of <(T>)>) to an Array, starting at a particular Array index. (Inherited from ICollection<(Of <(T>)>).) | |
Count | Gets the number of elements contained in the ICollection<(Of <(T>)>). (Inherited from ICollection<(Of <(T>)>).) | |
GetEnumerator()()() | Returns an enumerator that iterates through the collection. (Inherited from IEnumerable<(Of <(T>)>).) | |
GetEnumerator()()() | Returns an enumerator that iterates through a collection. (Inherited from IEnumerable.) | |
IndexOf(T) | Determines the index of a specific item in the IList<(Of <(T>)>). (Inherited from IList<(Of <(T>)>).) | |
Insert(Int32, T) | Inserts an item to the IList<(Of <(T>)>) at the specified index. (Inherited from IList<(Of <(T>)>).) | |
IsReadOnly | Gets a value indicating whether the ICollection<(Of <(T>)>) is read-only. (Inherited from ICollection<(Of <(T>)>).) | |
Item[([(Int32])]) | Gets or sets the element at the specified index. (Inherited from IList<(Of <(T>)>).) | |
load_all()()() |
Instantiate all loaded objects instead of waiting for accessing
an item.
| |
Remove(T) | Removes the first occurrence of a specific object from the ICollection<(Of <(T>)>). (Inherited from ICollection<(Of <(T>)>).) | |
RemoveAt(Int32) | Removes the IList<(Of <(T>)>) item at the specified index. (Inherited from IList<(Of <(T>)>).) |