Export (0) Print
Expand All
Expand Minimize

DbExpressionBuilder Methods

.NET Framework 4.5

The DbExpressionBuilder type exposes the following members.

  Name Description
Public method Static member Aggregate Creates a new DbFunctionAggregate.
Public method Static member AggregateDistinct Creates a new DbFunctionAggregate that is applied in a distinct fashion.
Public method Static member All(DbExpression, Func<DbExpression, DbExpression>) Creates a new DbQuantifierExpression that determines whether the given predicate holds for all elements of the input set.
Public method Static member All(DbExpressionBinding, DbExpression) Creates a new DbQuantifierExpression that determines whether the given predicate holds for all elements of the input set.
Public method Static member And Creates an DbAndExpression that performs the logical And of the left and right arguments.
Public method Static member Any(DbExpression) Creates a new DbExpression that determines whether the specified set argument is non-empty.
Public method Static member Any(DbExpression, Func<DbExpression, DbExpression>) Creates a new DbQuantifierExpression that determines whether the given predicate holds for any element of the input set.
Public method Static member Any(DbExpressionBinding, DbExpression) Creates a new DbQuantifierExpression that determines whether the given predicate holds for any element of the input set.
Public method Static member As(DbAggregate, String) Returns the specified arguments as a key/value pair object.
Public method Static member As(DbExpression, String) Returns the specified arguments as a key/value pair object.
Public method Static member Bind Creates a new DbExpressionBinding that uses a generated variable name to bind the given expression.
Public method Static member BindAs Creates a new DbExpressionBinding that uses the specified variable name to bind the given expression
Public method Static member Case Creates a new DbCaseExpression.
Public method Static member CastTo Creates a new DbCastExpression that applies a cast operation to a polymorphic argument.
Public method Static member Constant(Object) Creates a new DbConstantExpression with the given constant value.
Public method Static member Constant(TypeUsage, Object) Creates a new DbConstantExpression of the specified primitive type with the given constant value.
Public method Static member CreateRef(EntitySet, IEnumerable<DbExpression>) Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.
Public method Static member CreateRef(EntitySet, DbExpression[]) Creates a new DbRefExpression that encodes a reference to a specific entity based on key values.
Public method Static member CreateRef(EntitySet, EntityType, IEnumerable<DbExpression>) Creates a new DbRefExpression that encodes a reference to a specific entity of a given type based on key values.
Public method Static member CreateRef(EntitySet, EntityType, DbExpression[]) Creates a new DbRefExpression that encodes a reference to a specific entity of a given type based on key values.
Public method Static member CrossApply(DbExpression, Func<DbExpression, KeyValuePair<String, DbExpression>>) 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.
Public method Static member 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.
Public method Static member CrossJoin Creates a new DbCrossJoinExpression that unconditionally joins the sets specified by the list of input expression bindings.
Public method Static member Deref Creates a new DbDerefExpression that retrieves a specific Entity given a reference expression.
Public method Static member Distinct Creates a new DbDistinctExpression that removes duplicates from the given set argument.
Public method Static member Divide Creates a new DbArithmeticExpression that divides the left argument by the right argument.
Public method Static member Element Creates a new DbElementExpression that converts a set into a singleton.
Public method Static member Equal Creates a new DbComparisonExpression that compares the left and right arguments for equality.
Public method Static member Except Creates a new DbExceptExpression that computes the subtraction of the right set argument from the left set argument.
Public method Static member Exists Creates a new DbExpression that determines whether the specified set argument is non-empty.
Public method Static member Filter Creates a new DbFilterExpression that filters the elements in the given input set using the specified predicate.
Public method Static member FullOuterJoin(DbExpression, DbExpression, Func<DbExpression, DbExpression, DbExpression>) Creates a new DbJoinExpression that joins the sets specified by the left and right expressions, on the specified join condition, using FullOuterJoin as the DbExpressionKind.
Public method Static member 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.
Public method Static member GetEntityRef Creates a new DbEntityRefExpression that retrieves the ref of the specifed entity in structural form.
Public method Static member GetRefKey Creates a new DbRefKeyExpression that retrieves the key values of the specifed reference in structural form.
Public method Static member GreaterThan Creates a new DbComparisonExpression that determines whether the left argument is greater than the right argument.
Public method Static member GreaterThanOrEqual Creates a new DbComparisonExpression that determines whether the left argument is greater than or equal to the right argument.
Public method Static member GroupBind Creates a new group expression binding that uses generated variable and group variable names to bind the given expression.
Public method Static member GroupBindAs Creates a new DbGroupExpressionBinding that uses the specified variable name and group variable names to bind the given expression.
Public method Static member GroupBy Creates a new DbGroupByExpression that groups the elements of the input set according to the specified group keys and applies the given aggregates.
Public method Static member InnerJoin(DbExpression, DbExpression, Func<DbExpression, DbExpression, DbExpression>) Creates a new DbJoinExpression that joins the sets specified by the left and right expressions, on the specified join condition, using InnerJoin as the DbExpressionKind.
Public method Static member 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.
Public method Static member Intersect Creates a new DbIntersectExpression that computes the intersection of the left and right set arguments.
Public method Static member Invoke(DbLambda, IEnumerable<DbExpression>) Creates a new DbLambdaExpression representing the application of the specified Lambda function to the given arguments.
Public method Static member Invoke(DbLambda, DbExpression[]) Creates a new DbLambdaExpression representing the application of the specified Lambda function to the given arguments.
Public method Static member Invoke(EdmFunction, IEnumerable<DbExpression>) Creates a new DbFunctionExpression representing the invocation of the specified function with the given arguments.
Public method Static member Invoke(EdmFunction, DbExpression[]) Creates a new DbFunctionExpression representing the invocation of the specified function with the given arguments.
Public method Static member IsEmpty Creates a new DbIsEmptyExpression that determines whether the specified set argument is an empty set.
Public method Static member IsNull Creates a new DbIsNullExpression that determines whether the specified argument is null.
Public method Static member IsOf Creates a new DbIsOfExpression that determines whether the given argument is of the specified type or a subtype.
Public method Static member IsOfOnly Creates a new DbIsOfExpression expression that determines whether the given argument is of the specified type, and only that type (not a subtype).
Public method Static member Join(DbExpression, DbExpression, Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression>) Creates a new DbJoinExpression that joins the sets specified by the outer and inner expressions, on an equality condition between the specified outer and inner keys, using InnerJoin as the DbExpressionKind.
Public method Static member Join<TSelector>(DbExpression, DbExpression, Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression, TSelector>) Creates a new DbProjectExpression that projects the specified selector over the sets specified by the outer and inner expressions, joined on an equality condition between the specified outer and inner keys, using InnerJoin as the DbExpressionKind.
Public method Static member Lambda(DbExpression, IEnumerable<DbVariableReferenceExpression>) Creates a DbLambda with the specified inline Lambda function implementation and formal parameters.
Public method Static member Lambda(DbExpression, DbVariableReferenceExpression[]) Creates a DbLambda with the specified inline Lambda function implementation and formal parameters.
Public method Static member LeftOuterJoin(DbExpression, DbExpression, Func<DbExpression, DbExpression, DbExpression>) Creates a new DbJoinExpression that joins the sets specified by the left and right expressions, on the specified join condition, using LeftOuterJoin as the DbExpressionKind.
Public method Static member 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.
Public method Static member LessThan Creates a new DbComparisonExpression that determines whether the left argument is less than the right argument.
Public method Static member LessThanOrEqual Creates a new DbComparisonExpression that determines whether the left argument is less than or equal to the right argument.
Public method Static member Like(DbExpression, DbExpression) Creates a new DbLikeExpression that compares the specified input string to the given pattern.
Public method Static member Like(DbExpression, DbExpression, DbExpression) Creates a new DbLikeExpression that compares the specified input string to the given pattern using the optional escape.
Public method Static member Limit Creates a new DbLimitExpression that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output.
Public method Static member Minus Creates a new DbArithmeticExpression that subtracts the right argument from the left argument.
Public method Static member Modulo Creates a new DbArithmeticExpression that computes the remainder of the left argument divided by the right argument.
Public method Static member Multiply Creates a new DbArithmeticExpression that multiplies the left argument by the right argument.
Public method Static member Navigate(DbExpression, RelationshipEndMember, RelationshipEndMember) Creates a new DbRelationshipNavigationExpression representing the navigation of a composition or association relationship.
Public method Static member Navigate(RelationshipType, String, String, DbExpression) Creates a new DbRelationshipNavigationExpression representing the navigation of a composition or association relationship.
Public method Static member Negate Creates a new DbArithmeticExpression that negates the value of the argument.
Public method Static member New(TypeUsage, IEnumerable<DbExpression>) Creates a new DbNewInstanceExpression. If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance.
Public method Static member New(TypeUsage, DbExpression[]) Creates a new DbNewInstanceExpression. If the type argument is a collection type, the arguments specify the elements of the collection. Otherwise the arguments are used as property or column values in the new instance.
Public method Static member NewCollection(DbExpression[]) Creates a new DbNewInstanceExpression that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown.
Public method Static member NewCollection(IEnumerable<DbExpression>) Creates a new DbNewInstanceExpression that constructs a collection containing the specified elements. The type of the collection is based on the common type of the elements. If no common element type exists an exception is thrown.
Public method Static member NewEmptyCollection Creates a new DbNewInstanceExpression that constructs an empty collection of the specified collection type.
Public method Static member NewRow Creates a new DbNewInstanceExpression that produces a row with the specified named columns and the given values, specified as expressions.
Public method Static member Not Creates a DbNotExpression that performs the logical negation of the given argument.
Public method Static member NotEqual Creates a new DbComparisonExpression that compares the left and right arguments for inequality.
Public method Static member Null Creates a new DbNullExpression, which represents a typed null value.
Public method Static member OfType Creates a new DbOfTypeExpression that produces a set consisting of the elements of the given input set that are of the specified type.
Public method Static member OfTypeOnly Creates a new DbOfTypeExpression that produces a set consisting of the elements of the given input set that are of exactly the specified type.
Public method Static member Or Creates an DbOrExpression that performs the logical Or of the left and right arguments.
Public method Static member OrderBy(DbExpression, Func<DbExpression, DbExpression>) Creates a new DbSortExpression that sorts the given input set by the specified sort key, with ascending sort order and default collation.
Public method Static member OrderBy(DbExpression, Func<DbExpression, DbExpression>, String) Creates a new DbSortExpression that sorts the given input set by the specified sort key, with ascending sort order and the specified collation.
Public method Static member OrderByDescending(DbExpression, Func<DbExpression, DbExpression>) Creates a new DbSortExpression that sorts the given input set by the specified sort key, with descending sort order and default collation.
Public method Static member OrderByDescending(DbExpression, Func<DbExpression, DbExpression>, String) Creates a new DbSortExpression that sorts the given input set by the specified sort key, with descending sort order and the specified collation.
Public method Static member OuterApply(DbExpression, Func<DbExpression, KeyValuePair<String, DbExpression>>) 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.
Public method Static member 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.
Public method Static member Parameter Creates a new DbParameterReferenceExpression that references a parameter with the specified name and type.
Public method Static member Plus Creates a new DbArithmeticExpression that adds the left argument to the right argument.
Public method Static member Project Creates a new DbProjectExpression that projects the specified expression over the given input set.
Public method Static member Property(DbExpression, EdmProperty) Creates a new DbPropertyExpression representing the retrieval of the specified property.
Public method Static member Property(DbExpression, NavigationProperty) Creates a new DbPropertyExpression representing the retrieval of the specified navigation property.
Public method Static member Property(DbExpression, RelationshipEndMember) Creates a new DbPropertyExpression representing the retrieval of the specified relationship end member.
Public method Static member Property(DbExpression, String) Creates a new DbPropertyExpression representing the retrieval of the instance property with the specified name from the given instance.
Public method Static member RefFromKey(EntitySet, DbExpression) Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.
Public method Static member RefFromKey(EntitySet, DbExpression, EntityType) Creates a new DbRefExpression that encodes a reference to a specific Entity based on key values.
Public method Static member Scan Creates a new DbScanExpression that references the specified entity or relationship set.
Public method Static member Select<TProjection> Creates a new DbProjectExpression that selects the specified expression over the given input set.
Public method Static member SelectMany(DbExpression, Func<DbExpression, DbExpression>) 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. A DbProjectExpression is then created that selects the apply column from each row, producing the overall collection of apply results.
Public method Static member SelectMany<TSelector>(DbExpression, Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression, TSelector>) 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. A DbProjectExpression is then created that selects the specified selector over each row, producing the overall collection of results.
Public method Static member Skip(DbSortExpression, DbExpression) Creates a new DbSkipExpression that skips the specified number of elements from the given sorted input set.
Public method Static member 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.
Public method Static member Sort Creates a new DbSortExpression that sorts the given input set by the specified sort specifications.
Public method Static member Take Creates a new DbLimitExpression that restricts the number of elements in the Argument collection to the specified count Limit value. Tied results are not included in the output.
Public method Static member ThenBy(DbSortExpression, Func<DbExpression, DbExpression>) Creates a new DbSortExpression that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with default collation.
Public method Static member ThenBy(DbSortExpression, Func<DbExpression, DbExpression>, String) Creates a new DbSortExpression that with a sort order that includes the sort order of the given order input set together with the specified sort key in ascending sort order and with the specified collation.
Public method Static member ThenByDescending(DbSortExpression, Func<DbExpression, DbExpression>) Creates a new DbSortExpression that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with default collation.
Public method Static member ThenByDescending(DbSortExpression, Func<DbExpression, DbExpression>, String) Creates a new DbSortExpression that with a sort order that includes the sort order of the given order input set together with the specified sort key in descending sort order and with the specified collation.
Public method Static member ToSortClause(DbExpression) Creates a new DbSortClause with an ascending sort order and default collation.
Public method Static member ToSortClause(DbExpression, String) Creates a new DbSortClause with an ascending sort order and the specified collation.
Public method Static member ToSortClauseDescending(DbExpression) Creates a new DbSortClause with a descending sort order and default collation.
Public method Static member ToSortClauseDescending(DbExpression, String) Creates a new DbSortClause with a descending sort order and the specified collation.
Public method Static member TreatAs Creates a new DbTreatExpression.
Public method Static member UnaryMinus Creates a new DbArithmeticExpression that negates the value of the argument.
Public method Static member Union Creates a new DbExpression that computes the union of the left and right set arguments with duplicates removed.
Public method Static member UnionAll Creates a new DbUnionAllExpression that computes the union of the left and right set arguments and does not remove duplicates.
Public method Static member Variable Creates a new DbVariableReferenceExpression that references a variable with the specified name and type.
Public method Static member Where Creates a new DbFilterExpression that filters the elements in the given input set using the specified predicate.
Top
Show:
© 2014 Microsoft