Export (0) Print
Expand All

DbVariableReferenceExpression Class

Represents a reference to a variable that is currently in scope. This class cannot be inherited.

System.Object
  System.Data.Common.CommandTrees.DbExpression
    System.Data.Common.CommandTrees.DbVariableReferenceExpression

Namespace:  System.Data.Common.CommandTrees
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public sealed class DbVariableReferenceExpression : DbExpression

The DbVariableReferenceExpression type exposes the following members.

  NameDescription
Public propertyExpressionKindGets the kind of the expression, which indicates the operation of this expression. (Inherited from DbExpression.)
Public propertyResultTypeGets the type metadata for the result type of the expression. (Inherited from DbExpression.)
Public propertyVariableNameGets the name of the referenced variable.
Top

  NameDescription
Public methodAccept(DbExpressionVisitor)Implements the visitor pattern for expressions that do not produce a result value. (Overrides DbExpression.Accept(DbExpressionVisitor).)
Public methodAccept<TResultType>(DbExpressionVisitor<TResultType>)Implements the visitor pattern for expressions that produce a result value of a specific type. (Inherited from DbExpression.)
Public methodAccept<TResultType>(DbExpressionVisitor<TResultType>)Implements the visitor pattern for expressions that produce a result value of a specific type. (Overrides DbExpression.Accept<TResultType>(DbExpressionVisitor<TResultType>).)
Public methodEqualsDetermines whether the specified Object is equal to the current DbExpression instance. (Inherited from DbExpression.)
Public methodGetHashCodeServes as a hash function for the type. (Inherited from DbExpression.)
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 MethodAbs Creates a DbFunctionExpression that invokes the canonical 'Abs' function with the specified argument, which must each have a numeric result type. The result type of the expression is the same as the result type of value. (Defined by EdmFunctions.)
Public Extension MethodAddDays Creates a DbFunctionExpression that invokes the canonical 'AddDays' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. (Defined by EdmFunctions.)
Public Extension MethodAddHours Creates a DbFunctionExpression that invokes the canonical 'AddHours' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. (Defined by EdmFunctions.)
Public Extension MethodAddMicroseconds Creates a DbFunctionExpression that invokes the canonical 'AddMicroseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. (Defined by EdmFunctions.)
Public Extension MethodAddMilliseconds Creates a DbFunctionExpression that invokes the canonical 'AddMilliseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. (Defined by EdmFunctions.)
Public Extension MethodAddMinutes Creates a DbFunctionExpression that invokes the canonical 'AddMinutes' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. (Defined by EdmFunctions.)
Public Extension MethodAddMonths Creates a DbFunctionExpression that invokes the canonical 'AddMonths' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. (Defined by EdmFunctions.)
Public Extension MethodAddNanoseconds Creates a DbFunctionExpression that invokes the canonical 'AddNanoseconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. (Defined by EdmFunctions.)
Public Extension MethodAddSeconds Creates a DbFunctionExpression that invokes the canonical 'AddSeconds' function with the specified arguments, which must have DateTime, DateTimeOffset or Time, and integer result types. The result type of the expression is the same as the result type of timeValue. (Defined by EdmFunctions.)
Public Extension MethodAddYears Creates a DbFunctionExpression that invokes the canonical 'AddYears' function with the specified arguments, which must have DateTime or DateTimeOffset and integer result types. The result type of the expression is the same as the result type of dateValue. (Defined by EdmFunctions.)
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 MethodAnd Creates an DbAndExpression that performs the logical And of the left and right arguments. (Defined by DbExpressionBuilder.)
Public Extension MethodAny()Overloaded. Creates a new DbExpression that determines whether the specified set argument is non-empty. (Defined by DbExpressionBuilder.)
Public Extension MethodAny(Func<DbExpression, DbExpression>)Overloaded. Creates a new DbQuantifierExpression that determines whether the given predicate holds for any element of the input set. (Defined by DbExpressionBuilder.)
Public Extension MethodAreaCreates a DbFunctionExpression that invokes the canonical 'Area' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodAsReturns the specified arguments as a key/value pair object. (Defined by DbExpressionBuilder.)
Public Extension MethodAsBinaryCreates a DbFunctionExpression that invokes the canonical 'AsBinary' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Binary. (Defined by SpatialEdmFunctions.)
Public Extension MethodAsGmlCreates a DbFunctionExpression that invokes the canonical 'AsGml' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. (Defined by SpatialEdmFunctions.)
Public Extension MethodAsTextCreates a DbFunctionExpression that invokes the canonical 'AsText' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. (Defined by SpatialEdmFunctions.)
Public Extension MethodAverage Creates a DbFunctionExpression that invokes the canonical 'Avg' function over the specified collection. The result type of the expression is the same as the element type of the collection. (Defined by EdmFunctions.)
Public Extension MethodBindCreates a new DbExpressionBinding that uses a generated variable name to bind the given expression. (Defined by DbExpressionBuilder.)
Public Extension MethodBindAsCreates a new DbExpressionBinding that uses the specified variable name to bind the given expression (Defined by DbExpressionBuilder.)
Public Extension MethodBitwiseAnd Creates a DbFunctionExpression that invokes the canonical 'BitwiseAnd' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. (Defined by EdmFunctions.)
Public Extension MethodBitwiseNot Creates a DbFunctionExpression that invokes the canonical 'BitwiseNot' function with the specified argument, which must have an integer numeric result type. The result type of the expression is the same as the type of the arguments. (Defined by EdmFunctions.)
Public Extension MethodBitwiseOr Creates a DbFunctionExpression that invokes the canonical 'BitwiseOr' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. (Defined by EdmFunctions.)
Public Extension MethodBitwiseXor Creates a DbFunctionExpression that invokes the canonical 'BitwiseXor' function with the specified arguments, which must have the same integer numeric result type. The result type of the expression is the same as the type of the arguments. (Defined by EdmFunctions.)
Public Extension MethodCastToCreates a new DbCastExpression that applies a cast operation to a polymorphic argument. (Defined by DbExpressionBuilder.)
Public Extension MethodCeiling Creates a DbFunctionExpression that invokes the canonical 'Ceiling' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. (Defined by EdmFunctions.)
Public Extension MethodCentroidCreates a DbFunctionExpression that invokes the canonical 'Centroid' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodConcat Creates a DbFunctionExpression that invokes the canonical 'Concat' function with the specified arguments, which must each have a string result type. The result type of the expression is string. (Defined by EdmFunctions.)
Public Extension MethodContains Creates a DbFunctionExpression that invokes the canonical 'Contains' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. (Defined by EdmFunctions.)
Public Extension MethodCoordinateSystemIdCreates a DbFunctionExpression that invokes the canonical 'CoordinateSystemId' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. (Defined by SpatialEdmFunctions.)
Public Extension MethodCount Creates a DbFunctionExpression that invokes the canonical 'Count' function over the specified collection. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
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 MethodDay Creates a DbFunctionExpression that invokes the canonical 'Day' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDayOfYear Creates a DbFunctionExpression that invokes the canonical 'DayOfYear' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDerefCreates a new DbDerefExpression that retrieves a specific Entity given a reference expression. (Defined by DbExpressionBuilder.)
Public Extension MethodDiffDays Creates a DbFunctionExpression that invokes the canonical 'DiffDays' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffHours Creates a DbFunctionExpression that invokes the canonical 'DiffHours' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffMicroseconds Creates a DbFunctionExpression that invokes the canonical 'DiffMicroseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffMilliseconds Creates a DbFunctionExpression that invokes the canonical 'DiffMilliseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffMinutes Creates a DbFunctionExpression that invokes the canonical 'DiffMinutes' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffMonths Creates a DbFunctionExpression that invokes the canonical 'DiffMonths' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffNanoseconds Creates a DbFunctionExpression that invokes the canonical 'DiffNanoseconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffSeconds Creates a DbFunctionExpression that invokes the canonical 'DiffSeconds' function with the specified arguments, which must each have DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDiffYears Creates a DbFunctionExpression that invokes the canonical 'DiffYears' function with the specified arguments, which must each have DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodDistanceCreates a DbFunctionExpression that invokes the canonical 'Distance' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodDistinct Creates a new DbDistinctExpression that removes duplicates from the given set argument. (Defined by DbExpressionBuilder.)
Public Extension MethodDivideCreates a new DbArithmeticExpression that divides the left argument by the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodElementCreates a new DbElementExpression that converts a set into a singleton. (Defined by DbExpressionBuilder.)
Public Extension MethodElevationCreates a DbFunctionExpression that invokes the canonical 'Elevation' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodEndPointCreates a DbFunctionExpression that invokes the canonical 'EndPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. (Defined by SpatialEdmFunctions.)
Public Extension MethodEndsWith Creates a DbFunctionExpression that invokes the canonical 'EndsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. (Defined by EdmFunctions.)
Public Extension MethodEqualCreates a new DbComparisonExpression that compares the left and right arguments for equality. (Defined by DbExpressionBuilder.)
Public Extension MethodExceptCreates a new DbExceptExpression that computes the subtraction of the right set argument from the left set argument. (Defined by DbExpressionBuilder.)
Public Extension MethodExistsCreates a new DbExpression that determines whether the specified set argument is non-empty. (Defined by DbExpressionBuilder.)
Public Extension MethodExteriorRingCreates a DbFunctionExpression that invokes the canonical 'ExteriorRing' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodFloor Creates a DbFunctionExpression that invokes the canonical 'Floor' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. (Defined by EdmFunctions.)
Public Extension MethodFullOuterJoin 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. (Defined by DbExpressionBuilder.)
Public Extension MethodGetEntityRefCreates a new DbEntityRefExpression that retrieves the ref of the specifed entity in structural form. (Defined by DbExpressionBuilder.)
Public Extension MethodGetRefKeyCreates a new DbRefKeyExpression that retrieves the key values of the specifed reference in structural form. (Defined by DbExpressionBuilder.)
Public Extension MethodGetTotalOffsetMinutes Creates a DbFunctionExpression that invokes the canonical 'GetTotalOffsetMinutes' function with the specified argument, which must have a DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodGreaterThanCreates a new DbComparisonExpression that determines whether the left argument is greater than the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodGreaterThanOrEqualCreates a new DbComparisonExpression that determines whether the left argument is greater than or equal to the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodGroupBindCreates a new group expression binding that uses generated variable and group variable names to bind the given expression. (Defined by DbExpressionBuilder.)
Public Extension MethodGroupBindAsCreates a new DbGroupExpressionBinding that uses the specified variable name and group variable names to bind the given expression. (Defined by DbExpressionBuilder.)
Public Extension MethodHour Creates a DbFunctionExpression that invokes the canonical 'Hour' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodIndexOf Creates a DbFunctionExpression that invokes the canonical 'IndexOf' function with the specified arguments, which must each have a string result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodInnerJoin 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. (Defined by DbExpressionBuilder.)
Public Extension MethodInteriorRingAtCreates a DbFunctionExpression that invokes the canonical 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodInteriorRingCountCreates a DbFunctionExpression that invokes the canonical 'InteriorRingCount' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Int32. (Defined by SpatialEdmFunctions.)
Public Extension MethodIntersectCreates a new DbIntersectExpression that computes the intersection of the left and right set arguments. (Defined by DbExpressionBuilder.)
Public Extension MethodIsClosedSpatialCreates a DbFunctionExpression that invokes the canonical 'IsClosedSpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodIsEmpty Creates a new DbIsEmptyExpression that determines whether the specified set argument is an empty set. (Defined by DbExpressionBuilder.)
Public Extension MethodIsEmptySpatialCreates a DbFunctionExpression that invokes the canonical 'IsEmptySpatial' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodIsNullCreates a new DbIsNullExpression that determines whether the specified argument is null. (Defined by DbExpressionBuilder.)
Public Extension MethodIsOfCreates a new DbIsOfExpression that determines whether the given argument is of the specified type or a subtype. (Defined by DbExpressionBuilder.)
Public Extension MethodIsOfOnlyCreates a new DbIsOfExpression expression that determines whether the given argument is of the specified type, and only that type (not a subtype). (Defined by DbExpressionBuilder.)
Public Extension MethodIsRingCreates a DbFunctionExpression that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodIsSimpleGeometryCreates a DbFunctionExpression that invokes the canonical 'IsSimpleGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodIsValidGeometryCreates a DbFunctionExpression that invokes the canonical 'IsValidGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodJoin(DbExpression, Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression>)Overloaded. 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. (Defined by DbExpressionBuilder.)
Public Extension MethodJoin<TSelector>(DbExpression, Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression, TSelector>)Overloaded. 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. (Defined by DbExpressionBuilder.)
Public Extension MethodLatitudeCreates a DbFunctionExpression that invokes the canonical 'Latitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodLeft Creates a DbFunctionExpression that invokes the canonical 'Left' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. (Defined by EdmFunctions.)
Public Extension MethodLeftOuterJoinCreates a new DbJoinExpression that joins the sets specified by the left and right expressions, on the specified join condition, using LeftOuterJoin as the DbExpressionKind. (Defined by DbExpressionBuilder.)
Public Extension MethodLength Creates a DbFunctionExpression that invokes the canonical 'Length' function with the specified argument, which must have a string result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodLessThanCreates a new DbComparisonExpression that determines whether the left argument is less than the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodLessThanOrEqualCreates a new DbComparisonExpression that determines whether the left argument is less than or equal to the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodLike(DbExpression)Overloaded. Creates a new DbLikeExpression that compares the specified input string to the given pattern. (Defined by DbExpressionBuilder.)
Public Extension MethodLike(DbExpression, DbExpression)Overloaded. Creates a new DbLikeExpression that compares the specified input string to the given pattern using the optional escape. (Defined by DbExpressionBuilder.)
Public Extension MethodLimit 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. (Defined by DbExpressionBuilder.)
Public Extension MethodLongCount Creates a DbFunctionExpression that invokes the canonical 'BigCount' function over the specified collection. The result type of the expression is Edm.Int64. (Defined by EdmFunctions.)
Public Extension MethodLongitudeCreates a DbFunctionExpression that invokes the canonical 'Longitude' function with the specified argument, which must have an Edm.Geography result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodMax Creates a DbFunctionExpression that invokes the canonical 'Max' function over the specified collection. The result type of the expression is the same as the element type of the collection. (Defined by EdmFunctions.)
Public Extension MethodMeasureCreates a DbFunctionExpression that invokes the canonical 'Measure' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodMillisecond Creates a DbFunctionExpression that invokes the canonical 'Millisecond' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodMin Creates a DbFunctionExpression that invokes the canonical 'Min' function over the specified collection. The result type of the expression is the same as the element type of the collection. (Defined by EdmFunctions.)
Public Extension MethodMinus Creates a new DbArithmeticExpression that subtracts the right argument from the left argument. (Defined by DbExpressionBuilder.)
Public Extension MethodMinute Creates a DbFunctionExpression that invokes the canonical 'Minute' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodModulo Creates a new DbArithmeticExpression that computes the remainder of the left argument divided by the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodMonth Creates a DbFunctionExpression that invokes the canonical 'Month' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodMultiply Creates a new DbArithmeticExpression that multiplies the left argument by the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodNavigateCreates a new DbRelationshipNavigationExpression representing the navigation of a composition or association relationship. (Defined by DbExpressionBuilder.)
Public Extension MethodNegate Creates a new DbArithmeticExpression that negates the value of the argument. (Defined by DbExpressionBuilder.)
Public Extension MethodNot Creates a DbNotExpression that performs the logical negation of the given argument. (Defined by DbExpressionBuilder.)
Public Extension MethodNotEqualCreates a new DbComparisonExpression that compares the left and right arguments for inequality. (Defined by DbExpressionBuilder.)
Public Extension MethodOfType Creates a new DbOfTypeExpression that produces a set consisting of the elements of the given input set that are of the specified type. (Defined by DbExpressionBuilder.)
Public Extension MethodOfTypeOnly Creates a new DbOfTypeExpression that produces a set consisting of the elements of the given input set that are of exactly the specified type. (Defined by DbExpressionBuilder.)
Public Extension MethodOrCreates an DbOrExpression that performs the logical Or of the left and right arguments. (Defined by DbExpressionBuilder.)
Public Extension MethodOrderBy(Func<DbExpression, DbExpression>)Overloaded. Creates a new DbSortExpression that sorts the given input set by the specified sort key, with ascending sort order and default collation. (Defined by DbExpressionBuilder.)
Public Extension MethodOrderBy(Func<DbExpression, DbExpression>, String)Overloaded. Creates a new DbSortExpression that sorts the given input set by the specified sort key, with ascending sort order and the specified collation. (Defined by DbExpressionBuilder.)
Public Extension MethodOrderByDescending(Func<DbExpression, DbExpression>)Overloaded. Creates a new DbSortExpression that sorts the given input set by the specified sort key, with descending sort order and default collation. (Defined by DbExpressionBuilder.)
Public Extension MethodOrderByDescending(Func<DbExpression, DbExpression>, String)Overloaded. Creates a new DbSortExpression that sorts the given input set by the specified sort key, with descending sort order and the specified collation. (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 null. (Defined by DbExpressionBuilder.)
Public Extension MethodPlusCreates a new DbArithmeticExpression that adds the left argument to the right argument. (Defined by DbExpressionBuilder.)
Public Extension MethodPointAtCreates a DbFunctionExpression that invokes the canonical 'PointAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. (Defined by SpatialEdmFunctions.)
Public Extension MethodPointCountCreates a DbFunctionExpression that invokes the canonical 'PointCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. (Defined by SpatialEdmFunctions.)
Public Extension MethodPointOnSurfaceCreates a DbFunctionExpression that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodPower Creates a DbFunctionExpression that invokes the canonical 'Power' function with the specified arguments, which must have numeric result types. The result type of the expression is the same as the result type of baseArgument. (Defined by EdmFunctions.)
Public Extension MethodProperty(EdmProperty)Overloaded. Creates a new DbPropertyExpression representing the retrieval of the specified property. (Defined by DbExpressionBuilder.)
Public Extension MethodProperty(NavigationProperty)Overloaded. Creates a new DbPropertyExpression representing the retrieval of the specified navigation property. (Defined by DbExpressionBuilder.)
Public Extension MethodProperty(RelationshipEndMember)Overloaded. Creates a new DbPropertyExpression representing the retrieval of the specified relationship end member. (Defined by DbExpressionBuilder.)
Public Extension MethodProperty(String)Overloaded. Creates a new DbPropertyExpression representing the retrieval of the instance property with the specified name from the given instance. (Defined by DbExpressionBuilder.)
Public Extension MethodReplace Creates a DbFunctionExpression that invokes the canonical 'Replace' function with the specified arguments, which must each have a string result type. The result type of the expression is also string. (Defined by EdmFunctions.)
Public Extension MethodReverse Creates a DbFunctionExpression that invokes the canonical 'Reverse' function with the specified argument, which must have a string result type. The result type of the expression is also string. (Defined by EdmFunctions.)
Public Extension MethodRight Creates a DbFunctionExpression that invokes the canonical 'Right' function with the specified arguments, which must have a string and integer numeric result type. The result type of the expression is string. (Defined by EdmFunctions.)
Public Extension MethodRound()Overloaded. Creates a DbFunctionExpression that invokes the canonical 'Round' function with the specified argument, which must each have a single, double or decimal result type. The result type of the expression is the same as the result type of value. (Defined by EdmFunctions.)
Public Extension MethodRound(DbExpression)Overloaded. Creates a DbFunctionExpression that invokes the canonical 'Round' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. (Defined by EdmFunctions.)
Public Extension MethodSecond Creates a DbFunctionExpression that invokes the canonical 'Second' function with the specified argument, which must have a DateTime, DateTimeOffset or Time result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Public Extension MethodSelect<TProjection>Creates a new DbProjectExpression that selects the specified expression over the given input set. (Defined by DbExpressionBuilder.)
Public Extension MethodSelectMany(Func<DbExpression, DbExpression>)Overloaded. 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. (Defined by DbExpressionBuilder.)
Public Extension MethodSelectMany<TSelector>(Func<DbExpression, DbExpression>, Func<DbExpression, DbExpression, TSelector>)Overloaded. 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. (Defined by DbExpressionBuilder.)
Public Extension MethodSpatialBoundaryCreates a DbFunctionExpression that invokes the canonical 'SpatialBoundary' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialBufferCreates a DbFunctionExpression that invokes the canonical 'SpatialBuffer' function with the specified arguments, which must have a Edm.Geography or Edm.Geometry and Edm.Double result types. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialContainsCreates a DbFunctionExpression that invokes the canonical 'SpatialContains' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialConvexHullCreates a DbFunctionExpression that invokes the canonical 'SpatialConvexHull' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialCrossesCreates a DbFunctionExpression that invokes the canonical 'SpatialCrosses' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialDifferenceCreates a DbFunctionExpression that invokes the canonical 'SpatialDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialDimensionCreates a DbFunctionExpression that invokes the canonical 'SpatialDimension' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialDisjointCreates a DbFunctionExpression that invokes the canonical 'SpatialDisjoint' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialElementAtCreates a DbFunctionExpression that invokes the canonical 'SpatialElementAt' function with the specified arguments. The first argument must have an Edm.Geography or Edm.Geometry result type. The second argument must have an integer numeric result type. The result type of the expression is the same as that of spatialValue. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialElementCountCreates a DbFunctionExpression that invokes the canonical 'SpatialElementCount' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Int32. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialEnvelopeCreates a DbFunctionExpression that invokes the canonical 'SpatialEnvelope' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialEqualsCreates a DbFunctionExpression that invokes the canonical 'SpatialEquals' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialIntersectionCreates a DbFunctionExpression that invokes the canonical 'SpatialIntersection' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialIntersectsCreates a DbFunctionExpression that invokes the canonical 'SpatialIntersects' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialLengthCreates a DbFunctionExpression that invokes the canonical 'SpatialLength' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialOverlapsCreates a DbFunctionExpression that invokes the canonical 'SpatialOverlaps' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialRelateCreates a DbFunctionExpression that invokes the canonical 'SpatialRelate' function with the specified arguments, which must have Edm.Geometry and string result types. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialSymmetricDifferenceCreates a DbFunctionExpression that invokes the canonical 'SpatialSymmetricDifference' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialTouchesCreates a DbFunctionExpression that invokes the canonical 'SpatialTouches' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialTypeNameCreates a DbFunctionExpression that invokes the canonical 'SpatialTypeName' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type of the expression is Edm.String. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialUnionCreates a DbFunctionExpression that invokes the canonical 'SpatialUnion' function with the specified arguments, which must each have an Edm.Geography or Edm.Geometry result type. The result type of spatialValue1 must match the result type of spatialValue2. The result type of the expression is the same as the type of spatialValue1 and spatialValue2. (Defined by SpatialEdmFunctions.)
Public Extension MethodSpatialWithinCreates a DbFunctionExpression that invokes the canonical 'SpatialWithin' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean. (Defined by SpatialEdmFunctions.)
Public Extension MethodStartPointCreates a DbFunctionExpression that invokes the canonical 'StartPoint' function with the specified argument, which must have an Edm.Geography or Edm.Geometry result type. The result type is the same as that of spatialValue. (Defined by SpatialEdmFunctions.)
Public Extension MethodStartsWith Creates a DbFunctionExpression that invokes the canonical 'StartsWith' function with the specified arguments, which must each have a string result type. The result type of the expression is Boolean. (Defined by EdmFunctions.)
Public Extension MethodStDev Creates a DbFunctionExpression that invokes the canonical 'StDev' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. (Defined by EdmFunctions.)
Public Extension MethodStDevP Creates a DbFunctionExpression that invokes the canonical 'StDevP' function over the population of the specified collection. The result type of the expression is Edm.Double. (Defined by EdmFunctions.)
Public Extension MethodSubstring Creates a DbFunctionExpression that invokes the canonical 'Substring' function with the specified arguments, which must have a string and integer numeric result types. The result type of the expression is string. (Defined by EdmFunctions.)
Public Extension MethodSum Creates a DbFunctionExpression that invokes the canonical 'Sum' function over the specified collection. The result type of the expression is the same as the element type of the collection. (Defined by EdmFunctions.)
Public Extension MethodTakeCreates 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. (Defined by DbExpressionBuilder.)
Public Extension MethodToLower Creates a DbFunctionExpression that invokes the canonical 'ToLower' function with the specified argument, which must have a string result type. The result type of the expression is also string. (Defined by EdmFunctions.)
Public Extension MethodToSortClause()Overloaded. Creates a new DbSortClause with an ascending sort order and default collation. (Defined by DbExpressionBuilder.)
Public Extension MethodToSortClause(String)Overloaded. Creates a new DbSortClause with an ascending sort order and the specified collation. (Defined by DbExpressionBuilder.)
Public Extension MethodToSortClauseDescending()Overloaded. Creates a new DbSortClause with a descending sort order and default collation. (Defined by DbExpressionBuilder.)
Public Extension MethodToSortClauseDescending(String)Overloaded. Creates a new DbSortClause with a descending sort order and the specified collation. (Defined by DbExpressionBuilder.)
Public Extension MethodToUpper Creates a DbFunctionExpression that invokes the canonical 'ToUpper' function with the specified argument, which must have a string result type. The result type of the expression is also string. (Defined by EdmFunctions.)
Public Extension MethodTreatAsCreates a new DbTreatExpression. (Defined by DbExpressionBuilder.)
Public Extension MethodTrim Creates a DbFunctionExpression that invokes the canonical 'Trim' function with the specified argument, which must have a string result type. The result type of the expression is also string. (Defined by EdmFunctions.)
Public Extension MethodTrimEnd Creates a DbFunctionExpression that invokes the canonical 'RTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. (Defined by EdmFunctions.)
Public Extension MethodTrimStart Creates a DbFunctionExpression that invokes the canonical 'LTrim' function with the specified argument, which must have a string result type. The result type of the expression is also string. (Defined by EdmFunctions.)
Public Extension MethodTruncate Creates a DbFunctionExpression that invokes the canonical 'Truncate' function with the specified arguments, which must have a single, double or decimal, and integer result types. The result type of the expression is the same as the result type of value. (Defined by EdmFunctions.)
Public Extension MethodTruncateTime Creates a DbFunctionExpression that invokes the canonical 'TruncateTime' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is the same as the result type of dateValue. (Defined by EdmFunctions.)
Public Extension MethodUnaryMinusCreates a new DbArithmeticExpression that negates the value of the argument. (Defined by DbExpressionBuilder.)
Public Extension MethodUnionCreates a new DbExpression that computes the union of the left and right set arguments with duplicates removed. (Defined by DbExpressionBuilder.)
Public Extension MethodUnionAllCreates a new DbUnionAllExpression that computes the union of the left and right set arguments and does not remove duplicates. (Defined by DbExpressionBuilder.)
Public Extension MethodVar Creates a DbFunctionExpression that invokes the canonical 'Var' function over the non-null members of the specified collection. The result type of the expression is Edm.Double. (Defined by EdmFunctions.)
Public Extension MethodVarP Creates a DbFunctionExpression that invokes the canonical 'VarP' function over the population of the specified collection. The result type of the expression Edm.Double. (Defined by EdmFunctions.)
Public Extension MethodWhereCreates a new DbFilterExpression that filters the elements in the given input set using the specified predicate. (Defined by DbExpressionBuilder.)
Public Extension MethodXCoordinateCreates a DbFunctionExpression that invokes the canonical 'XCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodYCoordinateCreates a DbFunctionExpression that invokes the canonical 'YCoordinate' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Double. (Defined by SpatialEdmFunctions.)
Public Extension MethodYear Creates a DbFunctionExpression that invokes the canonical 'Year' function with the specified argument, which must have a DateTime or DateTimeOffset result type. The result type of the expression is Edm.Int32. (Defined by EdmFunctions.)
Top

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

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.
Show:
© 2014 Microsoft