Export (0) Print
Expand All
Expand Minimize

System.Data.Entity.Core.Common.CommandTrees Namespace

[This page is specific to the Entity Framework version 6. The latest version is available as the 'Entity Framework' NuGet package. For more information about Entity Framework, see msdn.com/data/ef.]

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

  ClassDescription
Public classBasicCommandTreeVisitorRepresents an abstract base type for types that implement the IExpressionVisitor interface to derive from.
Public classBasicExpressionVisitorAn abstract base type for types that implement the IExpressionVisitor interface to derive from.
Public classDbAggregate 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.
Public classDbAndExpression Represents the logical And of two Boolean arguments.
Public classDbApplyExpression Represents an apply operation, which is the invocation of the specified functor for each element in the specified input set.
Public classDbArithmeticExpression Represents an arithmetic operation (addition, subtraction, multiplication, division, modulo or negation) applied to two numeric arguments.
Public classDbBinaryExpression The abstract base type for expressions that accept two expression operands.
Public classDbCaseExpression Represents a Case When...Then...Else logical operation.
Public classDbCastExpression Represents a cast operation applied to a polymorphic argument.
Public classDbCommandTreeRepresents the abstract base type for the Delete, Query, Insert and Update DbCommandTree types.
Public classDbComparisonExpression Represents a comparison operation (equality, greater than, greather than or equal, less than, less than or equal, inequality) applied to two arguments.
Public classDbConstantExpression Represents a constant value.
Public classDbCrossJoinExpression Represents an unconditional join operation between the given collection arguments
Public classDbDeleteCommandTreeRepresents a single row delete operation expressed as a canonical command tree.
Public classDbDerefExpression Represents the retrieval of a given entity using the specified Ref.
Public classDbDistinctExpression Represents the removal of duplicate elements from the specified set operand.
Public classDbElementExpression 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.
Public classDbEntityRefExpression Represents the retrieval of a reference to the specified Entity as a Ref.
Public classDbExceptExpression Represents the set subtraction operation between the left and right operands.
Public classDbExpressionRepresents the base type for all expressions.
Public classDbExpressionBinding 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.
Public classDbExpressionRebinderEnsures 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.
Public classDbExpressionVisitorThe expression visitor pattern abstract base class that should be implemented by visitors that do not return a result value.
Public classDbExpressionVisitor<TResultType> The expression visitor pattern abstract base class that should be implemented by visitors that return a result value of a specific type.
Public classDbFilterExpression Represents a predicate applied to an input set to produce the set of elements that satisfy the predicate.
Public classDbFunctionAggregate The aggregate type that corresponds to the invocation of an aggregate function.
Public classDbFunctionCommandTreeRepresents a function invocation expressed as a canonical command tree.
Public classDbFunctionExpression Represents the invocation of a function.
Public classDbGroupAggregateRepresents a collection of elements that compose a group.
Public classDbGroupByExpression 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.
Public classDbGroupExpressionBinding 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.
Public classDbInExpression Represents a boolean expression that tests whether a specified item matches any element in a list.
Public classDbInsertCommandTreeRepresents 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.
Public classDbIntersectExpression Represents the set intersection operation between the left and right operands.
Public classDbIsEmptyExpression Represents empty set determination applied to a single set argument.
Public classDbIsNullExpression Represents null determination applied to a single argument.
Public classDbIsOfExpression Represents the type comparison of a single argument against the specified type.
Public classDbJoinExpression Represents an inner, left outer or full outer join operation between the given collection arguments on the specified join condition.
Public classDbLambdaExpression Represents the application of a Lambda function.
Public classDbLikeExpression Represents a string comparison against the specified pattern with an optional escape string
Public classDbLimitExpression Represents the restriction of the number of elements in the Argument collection to the specified Limit value.
Public classDbModificationClauseSpecifies a single clause in an insert or update modification operation, see SetClauses and SetClauses
Public classDbModificationCommandTree Represents a DML operation expressed as a canonical command tree
Public classDbNewInstanceExpression Represents the construction of a new instance of a given type, including set and record types.
Public classDbNotExpression Represents the logical Not of a single Boolean argument.
Public classDbNullExpression Represents null.
Public classDbOfTypeExpression Represents the retrieval of elements of the specified type from the given set argument.
Public classDbOrExpression Represents the logical Or of two Boolean arguments.
Public classDbParameterReferenceExpression Represents a reference to a parameter declared on the command tree that contains this expression.
Public classDbProjectExpression Represents the projection of a given set of values over the specified input set.
Public classDbPropertyExpressionProvides methods and properties for retrieving an instance property. This class cannot be inherited.
Public classDbQuantifierExpression Represents a quantifier operation of the specified kind (Any, All) over the elements of the specified input set.
Public classDbQueryCommandTreeRepresents a query operation expressed as a canonical command tree.
Public classDbRefExpression Represents a (strongly typed) reference to a specific instance within a given entity set.
Public classDbRefKeyExpression Represents the retrieval of the key value of the specified Reference as a row.
Public classDbRelationshipNavigationExpression Represents the navigation of a (composition or association) relationship given the 'from' role, the 'to' role and an instance of the from role
Public classDbScanExpression Represents a 'scan' of all elements of a given entity set.
Public classDbSetClause Specifies a clause in a modification operation setting the value of a property.
Public classDbSkipExpression 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.
Public classDbSortClause Specifies a sort key that can be used as part of the sort order in a DbSortExpression.
Public classDbSortExpression Represents a sort operation applied to the elements of the specified input set based on the given sort keys.
Public classDbTreatExpression Represents the type conversion of a single argument to the specified type.
Public classDbUnaryExpression The abstract base type for expressions that accept a single expression operand
Public classDbUnionAllExpression Represents the set union (without duplicate removal) operation between the left and right operands.
Public classDbUpdateCommandTreeRepresents a single-row update operation expressed as a command tree. This class cannot be inherited.
Public classDbVariableReferenceExpression Represents a reference to a variable that is currently in scope.
Public classDefaultExpressionVisitorVisits 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.

  EnumerationDescription
Public enumerationDbCommandTreeKindDescribes the different database commands.
Public enumerationDbExpressionKind Describes the different "kinds" (classes) of expressions
Show:
© 2014 Microsoft