QueryCollectionT Methods |
The QueryCollectionT generic type exposes the following members.
Name | Description | |
---|---|---|
![]() | Add |
Adds a new item to the collection.
|
![]() | AddRange(IEnumerableT) |
Adds a range of items to the collection.
|
![]() | AddRange(IEnumerableT, Boolean) |
Adds items to the main collection and does a sort operation if any orderby is used in query.
|
![]() | Any |
returnts true if the sequece contains any element.
|
![]() | Clear |
Clears out the collection.
|
![]() | Count |
returns the count of the sequence
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | First |
returns the first item of the sequence
|
![]() | FirstOrDefault |
Returns first item or default value if empty.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Last |
returns the last item of the sequence.
|
![]() | LastOrDefault |
Returns the last item or a default value.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Remove |
Marks a item to be removed from the colleciton.
|
![]() | Single |
returns only element of the sequece , throws exception if there is no element in
the sequece
|
![]() | SingleOrDefault |
Returns a single item or default value if empty.
|
![]() | Sort |
Sorts the collection, using the orderby clause used in query.
|
![]() | Sort(IComparerQueryObjectT) |
Sorts the collection with the provided comparer.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | CopyRecursive |
recursively copies object properties to destination.
(Defined by Utility.) |