System.Data.Entity.Core.Common.CommandTrees Namespace
The System.Data.Entity.Core.Common.CommandTrees namespace contains classes to build expressions that make up a command tree.
Class | Description | |
---|---|---|
![]() | BasicCommandTreeVisitor | Represents an abstract base type for types that implement the IExpressionVisitor interface to derive from. |
![]() | BasicExpressionVisitor | An abstract base type for types that implement the IExpressionVisitor interface to derive from. |
![]() | DbAggregate | 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. |
![]() | DbAndExpression | Represents the logical And of two Boolean arguments. |
![]() | DbApplyExpression | Represents an apply operation, which is the invocation of the specified functor for each element in the specified input set. |
![]() | DbArithmeticExpression | Represents an arithmetic operation (addition, subtraction, multiplication, division, modulo or negation) applied to two numeric arguments. |
![]() | DbBinaryExpression | The abstract base type for expressions that accept two expression operands. |
![]() | DbCaseExpression | Represents a Case When...Then...Else logical operation. |
![]() | DbCastExpression | Represents a cast operation applied to a polymorphic argument. |
![]() | DbCommandTree | Represents the abstract base type for the Delete, Query, Insert and Update DbCommandTree types. |
![]() | DbComparisonExpression | Represents a comparison operation (equality, greater than, greather than or equal, less than, less than or equal, inequality) applied to two arguments. |
![]() | DbConstantExpression | Represents a constant value. |
![]() | DbCrossJoinExpression | Represents an unconditional join operation between the given collection arguments |
![]() | DbDeleteCommandTree | Represents a single row delete operation expressed as a canonical command tree. |
![]() | DbDerefExpression | Represents the retrieval of a given entity using the specified Ref. |
![]() | DbDistinctExpression | Represents the removal of duplicate elements from the specified set operand. |
![]() | DbElementExpression | 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. |
![]() | DbEntityRefExpression | Represents the retrieval of a reference to the specified Entity as a Ref. |
![]() | DbExceptExpression | Represents the set subtraction operation between the left and right operands. |
![]() | DbExpression | Represents the base type for all expressions. |
![]() | DbExpressionBinding | 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. |
![]() | DbExpressionRebinder | 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. |
![]() | DbExpressionVisitor | The expression visitor pattern abstract base class that should be implemented by visitors that do not return a result value. |
![]() | DbExpressionVisitor<TResultType> | The expression visitor pattern abstract base class that should be implemented by visitors that return a result value of a specific type. |
![]() | DbFilterExpression | Represents a predicate applied to an input set to produce the set of elements that satisfy the predicate. |
![]() | DbFunctionAggregate | The aggregate type that corresponds to the invocation of an aggregate function. |
![]() | DbFunctionCommandTree | Represents a function invocation expressed as a canonical command tree. |
![]() | DbFunctionExpression | Represents the invocation of a function. |
![]() | DbGroupAggregate | Represents a collection of elements that compose a group. |
![]() | DbGroupByExpression | 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. |
![]() | DbGroupExpressionBinding | 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. |
![]() | DbInExpression | Represents a boolean expression that tests whether a specified item matches any element in a list. |
![]() | DbInsertCommandTree | 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. |
![]() | DbIntersectExpression | Represents the set intersection operation between the left and right operands. |
![]() | DbIsEmptyExpression | Represents empty set determination applied to a single set argument. |
![]() | DbIsNullExpression | Represents null determination applied to a single argument. |
![]() | DbIsOfExpression | Represents the type comparison of a single argument against the specified type. |
![]() | DbJoinExpression | Represents an inner, left outer or full outer join operation between the given collection arguments on the specified join condition. |
![]() | DbLambdaExpression | Represents the application of a Lambda function. |
![]() | DbLikeExpression | Represents a string comparison against the specified pattern with an optional escape string |
![]() | DbLimitExpression | Represents the restriction of the number of elements in the Argument collection to the specified Limit value. |
![]() | DbModificationClause | Specifies a single clause in an insert or update modification operation, see SetClauses and SetClauses |
![]() | DbModificationCommandTree | Represents a DML operation expressed as a canonical command tree |
![]() | DbNewInstanceExpression | Represents the construction of a new instance of a given type, including set and record types. |
![]() | DbNotExpression | Represents the logical Not of a single Boolean argument. |
![]() | DbNullExpression | Represents null. |
![]() | DbOfTypeExpression | Represents the retrieval of elements of the specified type from the given set argument. |
![]() | DbOrExpression | Represents the logical Or of two Boolean arguments. |
![]() | DbParameterReferenceExpression | Represents a reference to a parameter declared on the command tree that contains this expression. |
![]() | DbProjectExpression | Represents the projection of a given set of values over the specified input set. |
![]() | DbPropertyExpression | Provides methods and properties for retrieving an instance property. This class cannot be inherited. |
![]() | DbQuantifierExpression | Represents a quantifier operation of the specified kind (Any, All) over the elements of the specified input set. |
![]() | DbQueryCommandTree | Represents a query operation expressed as a canonical command tree. |
![]() | DbRefExpression | Represents a (strongly typed) reference to a specific instance within a given entity set. |
![]() | DbRefKeyExpression | Represents the retrieval of the key value of the specified Reference as a row. |
![]() | DbRelationshipNavigationExpression | Represents the navigation of a (composition or association) relationship given the 'from' role, the 'to' role and an instance of the from role |
![]() | DbScanExpression | Represents a 'scan' of all elements of a given entity set. |
![]() | DbSetClause | Specifies a clause in a modification operation setting the value of a property. |
![]() | DbSkipExpression | 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. |
![]() | DbSortClause | Specifies a sort key that can be used as part of the sort order in a DbSortExpression. |
![]() | DbSortExpression | Represents a sort operation applied to the elements of the specified input set based on the given sort keys. |
![]() | DbTreatExpression | Represents the type conversion of a single argument to the specified type. |
![]() | DbUnaryExpression | The abstract base type for expressions that accept a single expression operand |
![]() | DbUnionAllExpression | Represents the set union (without duplicate removal) operation between the left and right operands. |
![]() | DbUpdateCommandTree | Represents a single-row update operation expressed as a command tree. This class cannot be inherited. |
![]() | DbVariableReferenceExpression | Represents a reference to a variable that is currently in scope. |
![]() | 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 | |
---|---|---|
![]() | DbCommandTreeKind | Describes the different database commands. |
![]() | DbExpressionKind | Describes the different "kinds" (classes) of expressions |