DbExpressionBinding Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an input set to relational expressions such as DbFilterExpression, DbProjectExpression, and DbJoinExpression. This class cannot be inherited.
public ref class DbExpressionBinding sealed
public sealed class DbExpressionBinding
type DbExpressionBinding = class
Public NotInheritable Class DbExpressionBinding
- Inheritance
-
DbExpressionBinding
Remarks
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.
Properties
Expression |
Gets or sets the DbExpression that defines the input set. |
Variable |
Gets the DbVariableReferenceExpression that references the element variable. |
VariableName |
Gets the name assigned to the element variable. |
VariableType |
Gets the type metadata of the element variable. |
Methods
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Extension Methods
All(DbExpressionBinding, DbExpression) |
Creates a new DbQuantifierExpression that determines whether the given predicate holds for all elements of the input set. |
Any(DbExpressionBinding, DbExpression) |
Creates a new DbQuantifierExpression that determines whether the given predicate holds for any element of the input set. |
CrossApply(DbExpressionBinding, DbExpressionBinding) |
Creates a new DbApplyExpression that evaluates the given |
Filter(DbExpressionBinding, DbExpression) |
Creates a new DbFilterExpression that filters the elements in the given input set using the specified predicate. |
FullOuterJoin(DbExpressionBinding, DbExpressionBinding, DbExpression) |
Creates 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. |
InnerJoin(DbExpressionBinding, DbExpressionBinding, DbExpression) |
Creates 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. |
LeftOuterJoin(DbExpressionBinding, DbExpressionBinding, DbExpression) |
Creates 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. |
OuterApply(DbExpressionBinding, DbExpressionBinding) |
Creates a new DbApplyExpression that evaluates the given |
Project(DbExpressionBinding, DbExpression) |
Creates a new DbProjectExpression that projects the specified expression over the given input set. |
Skip(DbExpressionBinding, IEnumerable<DbSortClause>, DbExpression) |
Creates a new DbSkipExpression that sorts the given input set by the given sort specifications before skipping the specified number of elements. |
Sort(DbExpressionBinding, IEnumerable<DbSortClause>) |
Creates a new DbSortExpression that sorts the given input set by the specified sort specifications. |