Thenamespace contains classes to build expressions that make up a command tree.
Represents an abstract base type for types that implement the IExpressionVisitor interface to derive from.
An abstract base type for types that implement the IExpressionVisitor interface to derive from.
Aggregates are pseudo-expressions. They look and feel like expressions, but are severely restricted in where they can appear - only in the aggregates clause of a group-by expression.
Represents the logical And of two Boolean arguments.
Represents an apply operation, which is the invocation of the specified functor for each element in the specified input set.
Represents an arithmetic operation (addition, subtraction, multiplication, division, modulo or negation) applied to two numeric arguments.
The abstract base type for expressions that accept two expression operands.
Represents a Case When...Then...Else logical operation.
Represents a cast operation applied to a polymorphic argument.
Represents the abstract base type for the Delete, Query, Insert and Update DbCommandTree types.
Represents a comparison operation (equality, greater than, greather than or equal, less than, less than or equal, inequality) applied to two arguments.
Represents a constant value.
Represents an unconditional join operation between the given collection arguments
Represents a single row delete operation expressed as a canonical command tree.
Represents the retrieval of a given entity using the specified Ref.
Represents the removal of duplicate elements from the specified set operand.
Represents the conversion of the specified set operand to a singleton. If the set is empty the conversion will return null, otherwise the conversion will return one of the elements in the set.
Represents the retrieval of a reference to the specified Entity as a Ref.
Represents the set subtraction operation between the left and right operands.
Represents the base type for all expressions.
Describes a binding for an expression. Conceptually similar to a foreach loop in C#. The DbExpression property defines the collection being iterated over, while the Var property provides a means to reference the current element of the collection during the iteration. DbExpressionBinding is used to describe the set arguments to relational expressions such as DbFilterExpression, DbProjectExpression and DbJoinExpression.
Ensures that all metadata in a given expression tree is from the specified metadata workspace, potentially rebinding and rebuilding the expressions to appropriate replacement metadata where necessary.
The expression visitor pattern abstract base class that should be implemented by visitors that do not return a result value.
The expression visitor pattern abstract base class that should be implemented by visitors that return a result value of a specific type.
Represents a predicate applied to an input set to produce the set of elements that satisfy the predicate.
The aggregate type that corresponds to the invocation of an aggregate function.
Represents a function invocation expressed as a canonical command tree.
Represents the invocation of a function.
Represents a collection of elements that compose a group.
Represents a group by operation, which is a grouping of the elements in the input set based on the specified key expressions followed by the application of the specified aggregates.
Defines the binding for the input set to a DbGroupByExpression. In addition to the properties of DbExpressionBinding, DbGroupExpressionBinding also provides access to the group element via the <seealso cref="P:System.Data.Entity.Core.Common.CommandTrees.DbGroupExpressionBinding.GroupVariable" /> variable reference and to the group aggregate via the <seealso cref="P:System.Data.Entity.Core.Common.CommandTrees.DbGroupExpressionBinding.GroupAggregate" /> property.
Represents a boolean expression that tests whether a specified item matches any element in a list.
Represents a single row insert operation expressed as a canonical command tree. When the Returning property is set, the command returns a reader; otherwise, it returns a scalar value indicating the number of rows affected.
Represents the set intersection operation between the left and right operands.
Represents empty set determination applied to a single set argument.
Represents null determination applied to a single argument.
Represents the type comparison of a single argument against the specified type.
Represents an inner, left outer or full outer join operation between the given collection arguments on the specified join condition.
Represents the application of a Lambda function.
Represents a string comparison against the specified pattern with an optional escape string
Represents the restriction of the number of elements in the Argument collection to the specified Limit value.
Represents a DML operation expressed as a canonical command tree
Represents the construction of a new instance of a given type, including set and record types.
Represents the logical Not of a single Boolean argument.
Represents the retrieval of elements of the specified type from the given set argument.
Represents the logical Or of two Boolean arguments.
Represents a reference to a parameter declared on the command tree that contains this expression.
Represents the projection of a given set of values over the specified input set.
Provides methods and properties for retrieving an instance property. This class cannot be inherited.
Represents a quantifier operation of the specified kind (Any, All) over the elements of the specified input set.
Represents a query operation expressed as a canonical command tree.
Represents a (strongly typed) reference to a specific instance within a given entity set.
Represents the retrieval of the key value of the specified Reference as a row.
Represents the navigation of a (composition or association) relationship given the 'from' role, the 'to' role and an instance of the from role
Represents a 'scan' of all elements of a given entity set.
Specifies a clause in a modification operation setting the value of a property.
Represents a skip operation of the specified number of elements of the input set after the ordering described in the given sort keys is applied.
Specifies a sort key that can be used as part of the sort order in a DbSortExpression.
Represents a sort operation applied to the elements of the specified input set based on the given sort keys.
Represents the type conversion of a single argument to the specified type.
The abstract base type for expressions that accept a single expression operand
Represents the set union (without duplicate removal) operation between the left and right operands.
Represents a single-row update operation expressed as a command tree. This class cannot be inherited.
Represents a reference to a variable that is currently in scope.
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.