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

DbExpressionBinding Class

Represents an input set to relational expressions such as DbFilterExpression, DbProjectExpression, and DbJoinExpression. This class cannot be inherited.

System.Object
  System.Data.Common.CommandTrees.DbExpressionBinding

Namespace:  System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)
[<Sealed>]
type DbExpressionBinding =  class end

The DbExpressionBinding type exposes the following members.

  NameDescription
Public propertyExpressionGets or sets the DbExpression that defines the input set.
Public propertyVariableGets the DbVariableReferenceExpression that references the element variable.
Public propertyVariableNameGets the name assigned to the element variable.
Public propertyVariableTypeGets the type metadata of the element variable.
Top
  NameDescription
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public Extension MethodAll Creates a new DbQuantifierExpression that determines whether the given predicate holds for all elements of the input set. (Defined by DbExpressionBuilder.)
Public Extension MethodAnyCreates a new DbQuantifierExpression that determines whether the given predicate holds for any element of the input set. (Defined by DbExpressionBuilder.)
Public Extension MethodCrossApply Creates a new DbApplyExpression that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set are not included. (Defined by DbExpressionBuilder.)
Public Extension MethodFilterCreates a new DbFilterExpression that filters the elements in the given input set using the specified predicate. (Defined by DbExpressionBuilder.)
Public Extension MethodFullOuterJoinCreates a new DbJoinExpression that joins the sets specified by the left and right expression bindings, on the specified join condition, using FullOuterJoin as the DbExpressionKind. (Defined by DbExpressionBuilder.)
Public Extension MethodInnerJoinCreates a new DbJoinExpression that joins the sets specified by the left and right expression bindings, on the specified join condition, using InnerJoin as the DbExpressionKind. (Defined by DbExpressionBuilder.)
Public Extension MethodLeftOuterJoinCreates a new DbJoinExpression that joins the sets specified by the left and right expression bindings, on the specified join condition, using LeftOuterJoin as the DbExpressionKind. (Defined by DbExpressionBuilder.)
Public Extension MethodOuterApplyCreates a new DbApplyExpression that evaluates the given apply expression once for each element of a given input set, producing a collection of rows with corresponding input and apply columns. Rows for which apply evaluates to an empty set have an apply column value of a null reference (Nothing in Visual Basic). (Defined by DbExpressionBuilder.)
Public Extension MethodProjectCreates a new DbProjectExpression that projects the specified expression over the given input set. (Defined by DbExpressionBuilder.)
Public Extension MethodSkipCreates a new DbSkipExpression that sorts the given input set by the given sort specifications before skipping the specified number of elements. (Defined by DbExpressionBuilder.)
Public Extension MethodSortCreates a new DbSortExpression that sorts the given input set by the specified sort specifications. (Defined by DbExpressionBuilder.)
Top

This class is very similar to a foreach traversal with a binding to each element of the traversal. This class is provided as a helper class for many of the expressions that correspond to relational operators.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.