This documentation is archived and is not being maintained.

DbExpressionKind Enumeration

Contains values that each expression class uses to denote the operation it represents. The ExpressionKind property of an DbExpression can be retrieved to determine which operation that expression represents.

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

public enum DbExpressionKind

Member nameDescription
Alltrue-for-all expressions.
AndLogical AND expressions.
Anytrue-for-any expressions.
CaseConditional case statement expressions.
CastPolymorphic type cast expressions.
ConstantConstant value expressions.
CrossApplyCross apply expressions.
CrossJoinCross join expressions.
DerefDereference expressions.
DistinctDuplicate removal expressions.
DivideDivision expressions.
ElementSet-to-singleton conversion expressions.
EntityRefEntity reference value retrieval expressions.
EqualsEquality expressions.
ExceptSet subtraction expressions.
FilterRestriction expressions.
FullOuterJoinFull outer join expressions.
FunctionStandalone function expressions.
GreaterThanGreater than expressions.
GreaterThanOrEqualsGreater than or equal expressions.
GroupByGrouping expressions.
InnerJoinInner join expressions.
IntersectSet intersection expressions.
IsEmptyEmpty set determination expressions.
IsNullNull determination expressions.
IsOfType comparison (specified Type or Subtype) expressions.
IsOfOnlyType comparison (specified Type only) expressions.
LambdaLambda function expressions.
LeftOuterJoinLeft outer join expressions.
LessThanLess than expressions.
LessThanOrEqualsLess than or equal expressions.
LikeString comparison expressions.
LimitResult count restriction (TOP n).
MinusSubtraction expressions.
ModuloModulo expressions.
MultiplyMultiplication expressions.
NewInstanceInstance, row, and set construction expressions.
NotLogical NOT expressions.
NotEqualsInequality expressions.
NullNull expressions.
OfTypeSet members by type (or subtype) expressions.
OfTypeOnlySet members by exact type expressions.
OrLogical OR expressions.
OuterApplyOuter apply expressions
ParameterReferenceReference to a parameter expressions.
PlusAddition expressions.
ProjectProjection expressions.
PropertyStatic or instance property retrieval expressions.
RefReference expressions.
RefKeyRef key value retrieval expressions.
RelationshipNavigationRelationship (composition or association) navigation expressions.
ScanEntity or relationship set scan expressions.
SkipSkip elements of an ordered collection.
SortSorting expressions.
TreatType conversion expressions.
UnaryMinusNegation expressions.
UnionAllSet union (with duplicates) expressions.
VariableReferenceReference to a variable expressions.

Use the DbExpressionKind enumeration to specify the various kinds of expressions. The Members table lists the functions that are members of this class and the type of expressions they specify.

.NET Framework

Supported in: 4, 3.5 SP1

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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