| QueryT Class |
Note: This API is now obsolete.
Namespace: Intuit.Ipp.LinqExtender
[ObsoleteAttribute("Deprecated. Use QueryService->ExecuteIdsQuery")] public class Query<T> : ExpressionVisitor, IModifiableCollection<T>, IMethodCall<T>, IMethodCall, IModifiableCollection, IOrderedQueryable<T>, IQueryable<T>, IEnumerable<T>, IEnumerable, IQueryable, IOrderedQueryable, IDisposable, IQueryProvider
[Missing <typeparam name="T"/> documentation for "T:Intuit.Ipp.LinqExtender.Query`1"]
The QueryT type exposes the following members.
| Name | Description | |
|---|---|---|
| ElementType |
Gets element type for the expression.
| |
| Expression |
Gets the expression tree.
| |
| Item |
Gets the collection item for an index
| |
| Provider |
Gets a query provider the LINQ query.
|
| Name | Description | |
|---|---|---|
| Add |
Adds a new item to the collection
| |
| AddRange(IEnumerableT) |
Addes a range of items to the collection.
| |
| AddRange(IEnumerableT, Boolean) |
Adds list of items to the collection , optionally calls in memory sort. Used in QueryT.SelectItem
| |
| Any |
Return true if there is any item in collection.
| |
| Clear |
Clears out items from collection.
| |
| Count |
Returns the count of items in the collection.
| |
| CreateQuery(Expression) |
Creates the query for current expression.
| |
| CreateQueryTS(Expression) |
Creates the query for type and current expression.
| |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Execute(Expression) |
Executes the query for current expression.
| |
| ExecuteTResult(Expression) |
Executes the query for current type and expression
| |
| 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 from the collection.
| |
| FirstOrDefault |
Returns first item or default value if empty.
| |
| GetEnumerator |
Executes the query and gets a iterator for it.
| |
| 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 from the collection.
| |
| LastOrDefault |
Returns last item or default value if empty.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove |
Marks an item to be removed.
| |
| Single |
Returns a single item from the collection.
| |
| SingleOrDefault |
Returns a single item or default value if empty.
| |
| Sort |
internally tries to sort , if the query contains orderby statement.
| |
| SubmitChanges |
When called, it invokes the appropiate QueryT method to finalize the collection changes.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| Visit |
Visits expression and delegates call to different to branch.
(Inherited from ExpressionVisitor.) | |
| VisitBinary |
Visits the binary expression.
(Overrides ExpressionVisitorVisitBinary(BinaryExpression).) | |
| VisitConstant | (Overrides ExpressionVisitorVisitConstant(ConstantExpression).) | |
| VisitLamda |
Visits the lambda expression.
(Inherited from ExpressionVisitor.) | |
| VisitMemberAccess | (Overrides ExpressionVisitorVisitMemberAccess(MemberExpression).) | |
| VisitMethodCall |
Visits the method call expression
(Overrides ExpressionVisitorVisitMethodCall(MethodCallExpression).) | |
| VisitNew |
Visits the new type expression.
(Inherited from ExpressionVisitor.) | |
| VisitUnary | (Overrides ExpressionVisitorVisitUnary(UnaryExpression).) |
| Name | Description | |
|---|---|---|
| CopyRecursive |
recursively copies object properties to destination.
(Defined by Utility.) | |
| ToIdsQueryT |
ToIdsQuery for IQueryable
(Defined by Queryable.) |