Expand Minimize

System.Data.Common.CommandTrees Namespace

The System.Data.Common.CommandTrees namespace provides classes to build expressions that make up a command tree.

A command trees is an object model representation of a query that can be used to represent query, update, insert, and delete commands in the ADO.NET Entity Data Model (EDM) and storage metadata.

  Class Description
Public class DbAggregate Implements the basic functionality required by aggregates in a GroupBy clause.
Public class DbAndExpression Represents the logical AND of two Boolean arguments. This class cannot be inherited.
Public class DbApplyExpression Represents an apply operation, which is the invocation of the specified function for each element in the specified input set. This class cannot be inherited.
Public class DbArithmeticExpression Represents an arithmetic operation applied to numeric arguments. Addition, subtraction, multiplication, division, modulo, and negation are arithmetic operations. This class cannot be inherited.
Public class DbBinaryExpression Implements the basic functionality required by expressions that accept two expression operands.
Public class DbCaseExpression Represents the When, Then, and Else clauses of the DbCaseExpression. This class cannot be inherited.
Public class DbCastExpression Represents the type conversion of a single argument to the specified type. This class cannot be inherited.
Public class DbCommandTree An immutable class that implements the basic functionality for the Query, Insert, Update, Delete, and function invocation command tree types.
Public class DbComparisonExpression Represents a comparison operation applied to two arguments. Equality, greater than, greater than or equal, less than, less than or equal, and inequality are comparison operations. This class cannot be inherited.
Public class DbConstantExpression Represents different kinds of constants (literals). This class cannot be inherited.
Public class DbCrossJoinExpression Represents an unconditional join operation between the given collection arguments. This class cannot be inherited.
Public class DbDeleteCommandTree Represents a single row delete operation expressed as a command tree. This class cannot be inherited.
Public class DbDerefExpression Represents the an expression that retrieves an entity based on the specified reference. This class cannot be inherited.
Public class DbDistinctExpression Removes duplicate elements from the specified set argument. This class cannot be inherited.
Public class DbElementExpression Represents the conversion of the specified set argument to a singleton. This class cannot be inherited.
Public class DbEntityRefExpression Represents an expression that extracts a reference from the underlying entity instance. This class cannot be inherited.
Public class DbExceptExpression Represents the set subtraction operation between the left and right operands. This class cannot be inherited.
Public class DbExpression Represents the base type for all expressions.
Public class DbExpressionBinding Represents an input set to relational expressions such as DbFilterExpression, DbProjectExpression, and DbJoinExpression. This class cannot be inherited.
Public class DbExpressionVisitor Defines the basic functionality that should be implemented by visitors that do not return a result value.
Public class DbExpressionVisitor<TResultType> Defines the basic functionality that should be implemented by visitors that return a result value of a specific type.
Public class DbFilterExpression Represents a predicate applied to filter an input set. This produces the set of elements that satisfy the predicate. This class cannot be inherited.
Public class DbFunctionAggregate Supports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited.
Public class DbFunctionCommandTree Represents the invocation of a database function.
Public class DbFunctionExpression Represents an invocation of a function. This class cannot be inherited.
Public class DbGroupAggregate Represents a collection of elements that compose a group.
Public class DbGroupByExpression Represents a group by operation. A group by operation is a grouping of the elements in the input set based on the specified key expressions followed by the application of the specified aggregates. This class cannot be inherited.
Public class DbGroupExpressionBinding Defines the binding for the input set to a DbGroupByExpression. This class cannot be inherited.
Public class DbInsertCommandTree Represents a single row insert operation expressed as a command tree. This class cannot be inherited.
Public class DbIntersectExpression Represents the set intersection operation between the left and right operands. This class cannot be inherited.
Public class DbIsEmptyExpression Represents an empty set determination applied to a single set argument. This class cannot be inherited.
Public class DbIsNullExpression Represents null determination applied to a single argument. This class cannot be inherited.
Public class DbIsOfExpression Represents the type comparison of a single argument against the specified type. This class cannot be inherited.
Public class DbJoinExpression Represents an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition.
Public class DbLambda Represents a Lambda function that can be invoked to produce a DbLambdaExpression.
Public class DbLambdaExpression Allows the application of a lambda function to arguments represented by DbExpression objects.
Public class DbLikeExpression Represents a string comparison against the specified pattern with an optional escape string. This class cannot be inherited.
Public class DbLimitExpression Represents the restriction of the number of elements in the argument collection to the specified limit value.
Public class DbModificationClause Specifies a single clause in an insert or update modification operation.
Public class DbModificationCommandTree Represents a data manipulation language (DML) operation expressed as a command tree.
Public class DbNewInstanceExpression Represents the construction of a new instance of a given type, including set and record types. This class cannot be inherited.
Public class DbNotExpression Represents the logical NOT of a single Boolean argument. This class cannot be inherited.
Public class DbNullExpression Represents a reference to a typed null literal. This class cannot be inherited.
Public class DbOfTypeExpression Represents the retrieval of elements of the specified type from the given set argument. This class cannot be inherited.
Public class DbOrExpression Represents the logical OR of two Boolean arguments. This class cannot be inherited.
Public class DbParameterReferenceExpression Represents a reference to a parameter declared on the command tree that contains this expression. This class cannot be inherited.
Public class DbProjectExpression Represents the projection of a given input set over the specified expression. This class cannot be inherited.
Public class DbPropertyExpression Provides methods and properties for retrieving an instance property. This class cannot be inherited.
Public class DbQuantifierExpression Represents a quantifier operation of the specified kind over the elements of the specified input set. This class cannot be inherited.
Public class DbQueryCommandTree Represents a query operation expressed as a command tree. This class cannot be inherited.
Public class DbRefExpression Represents a strongly typed reference to a specific instance within an entity set. This class cannot be inherited.
Public class DbRefKeyExpression Represents the retrieval of the key value (in its structural form) from the underlying reference value. This class cannot be inherited.
Public class DbRelationshipNavigationExpression Represents the navigation of a relationship. This class cannot be inherited.
Public class DbScanExpression Represents a scan over an entity set or relationship set, as indicated by the Target property. This class cannot be inherited.
Public class DbSetClause Specifies the clause in a modification operation that sets the value of a property. This class cannot be inherited.
Public class DbSkipExpression Skips a specified number of elements in the input set. DbSkipExpression can only be used after the input collection has been sorted as specified by the sort keys.
Public class DbSortClause Specifies a sort key that can be used as part of the sort order in a DbSortExpression. This class cannot be inherited.
Public class DbSortExpression Represents a sort operation applied to the elements of the specified input set based on the given sort keys. This class cannot be inherited.
Public class DbTreatExpression Represents a type conversion operation applied to a polymorphic argument. This class cannot be inherited.
Public class DbUnaryExpression Implements the basic functionality required by expressions that accept a single expression argument.
Public class DbUnionAllExpression Represents the set union (without duplicate removal) operation between the left and right operands. This class cannot be inherited.
Public class DbUpdateCommandTree Represents a single-row update operation expressed as a command tree. This class cannot be inherited.
Public class DbVariableReferenceExpression Represents a reference to a variable that is currently in scope. This class cannot be inherited.
Public class DefaultExpressionVisitor Visits each element of an expression tree from a given root expression. If any element changes, the tree is rebuilt back to the root and the new root expression is returned; otherwise the original root expression is returned.

  Enumeration Description
Public enumeration DbExpressionKind Contains values that each expression class uses to denote the operation it represents. The ExpressionKind property of an DbExpression can be retrieved to determine which operation that expression represents.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft