संपादित करें

इसके माध्यम से साझा किया गया


DbExpressionBinding Class

Definition

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 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.

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 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 null.

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.

Applies to