Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

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.

  ClassDescription
Public classDbAggregateImplements the basic functionality required by aggregates in a GroupBy clause.
Public classDbAndExpressionRepresents the logical AND of two Boolean arguments. This class cannot be inherited.
Public classDbApplyExpressionRepresents 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 classDbArithmeticExpressionRepresents an arithmetic operation applied to numeric arguments. Addition, subtraction, multiplication, division, modulo, and negation are arithmetic operations. This class cannot be inherited.
Public classDbBinaryExpressionImplements the basic functionality required by expressions that accept two expression operands.
Public classDbCaseExpressionRepresents the When, Then, and Else clauses of the DbCaseExpression. This class cannot be inherited.
Public classDbCastExpressionRepresents the type conversion of a single argument to the specified type. This class cannot be inherited.
Public classDbCommandTreeImplements the basic functionality for the Query, Insert, Update, Delete, and function invocation command tree types.
Public classDbComparisonExpressionRepresents 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 classDbConstantExpressionRepresents different kinds of constants (literals). This class cannot be inherited.
Public classDbCrossJoinExpressionRepresents an unconditional join operation between the given collection arguments. This class cannot be inherited.
Public classDbDeleteCommandTreeRepresents a single row delete operation expressed as a command tree. This class cannot be inherited.
Public classDbDerefExpressionRepresents the an expression that retrieves an entity based on the specified reference. This class cannot be inherited.
Public classDbDistinctExpressionRemoves duplicate elements from the specified set argument. This class cannot be inherited.
Public classDbElementExpressionRepresents the conversion of the specified set argument to a singleton. This class cannot be inherited.
Public classDbEntityRefExpressionRepresents an expression that extracts a reference from the underlying entity instance. This class cannot be inherited.
Public classDbExceptExpressionRepresents the set subtraction operation between the left and right operands. This class cannot be inherited.
Public classDbExpressionImplements the basic functionality required by expression types.
Public classDbExpressionBindingRepresents an input set to relational expressions such as DbFilterExpression, DbProjectExpression, and DbJoinExpression. This class cannot be inherited.
Public classDbExpressionVisitorDefines the basic functionality that should be implemented by visitors that do not return a result value.
Public classDbExpressionVisitor<TResultType>Defines the basic functionality that should be implemented by visitors that return a result value of a specific type.
Public classDbFilterExpressionRepresents a predicate applied to filter an input set. This produces the set of elements that satisfy the predicate. This class cannot be inherited.
Public classDbFunctionAggregateSupports standard aggregate functions, such as MIN, MAX, AVG, SUM, and so on. This class cannot be inherited.
Public classDbFunctionCommandTreeRepresents the invocation of a database function.
Public classDbFunctionExpressionRepresents an invocation of a function. This class cannot be inherited.
Public classDbGroupByExpressionRepresents 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 classDbGroupExpressionBindingDefines the binding for the input set to a DbGroupByExpression. This class cannot be inherited.
Public classDbInsertCommandTreeRepresents a single row insert operation expressed as a command tree. This class cannot be inherited.
Public classDbIntersectExpressionRepresents the set intersection operation between the left and right operands. This class cannot be inherited.
Public classDbIsEmptyExpressionRepresents an empty set determination applied to a single set argument. This class cannot be inherited.
Public classDbIsNullExpressionRepresents null determination applied to a single argument. This class cannot be inherited.
Public classDbIsOfExpressionRepresents the type comparison of a single argument against the specified type. This class cannot be inherited.
Public classDbJoinExpressionRepresents an inner, left outer, or full outer join operation between the given collection arguments on the specified join condition.
Public classDbLikeExpressionRepresents a string comparison against the specified pattern with an optional escape string. This class cannot be inherited.
Public classDbLimitExpressionRepresents 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.
Public classDbModificationCommandTreeRepresents a data manipulation language (DML) operation expressed as a command tree.
Public classDbNewInstanceExpressionRepresents the construction of a new instance of a given type, including set and record types. This class cannot be inherited.
Public classDbNotExpressionRepresents the logical NOT of a single Boolean argument. This class cannot be inherited.
Public classDbNullExpressionRepresents a reference to a typed null literal. This class cannot be inherited.
Public classDbOfTypeExpressionRepresents the retrieval of elements of the specified type from the given set argument. This class cannot be inherited.
Public classDbOrExpressionRepresents the logical OR of two Boolean arguments. This class cannot be inherited.
Public classDbParameterReferenceExpressionRepresents a reference to a parameter declared on the command tree that contains this expression. This class cannot be inherited.
Public classDbProjectExpressionRepresents the projection of a given input set over the specified expression. This class cannot be inherited.
Public classDbPropertyExpressionProvides methods and properties for retrieving an instance property. This class cannot be inherited.
Public classDbQuantifierExpressionRepresents a quantifier operation of the specified kind over the elements of the specified input set. This class cannot be inherited.
Public classDbQueryCommandTreeRepresents a query operation expressed as a command tree. This class cannot be inherited.
Public classDbRefExpressionRepresents a strongly typed reference to a specific instance within an entity set. This class cannot be inherited.
Public classDbRefKeyExpressionRepresents the retrieval of the key value (in its structural form) from the underlying reference value. This class cannot be inherited.
Public classDbRelationshipNavigationExpressionRepresents the navigation of a relationship. This class cannot be inherited.
Public classDbScanExpressionRepresents a scan over an entity set or relationship set, as indicated by the Target property. This class cannot be inherited.
Public classDbSetClauseSpecifies the clause in a modification operation that sets the value of a property. This class cannot be inherited.
Public classDbSkipExpressionSkips 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 classDbSortClauseSpecifies a sort key that can be used as part of the sort order in a DbSortExpression. This class cannot be inherited.
Public classDbSortExpressionRepresents a sort operation applied to the elements of the specified input set based on the given sort keys. This class cannot be inherited.
Public classDbTreatExpressionRepresents a type conversion operation applied to a polymorphic argument. This class cannot be inherited.
Public classDbUnaryExpressionImplements the basic functionality required by expressions that accept a single expression argument.
Public classDbUnionAllExpressionRepresents the set union (without duplicate removal) operation between the left and right operands. This class cannot be inherited.
Public classDbUpdateCommandTreeRepresents a single-row update operation expressed as a command tree. This class cannot be inherited.
Public classDbVariableReferenceExpressionRepresents a reference to a variable that is currently in scope. This class cannot be inherited.
  EnumerationDescription
Public enumerationDbExpressionKindContains 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.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.