DbExpressionKind 枚举


包含每个表达式类用来表示它所代表的运算的值。 可以检索 ExpressionKindDbExpression 属性来确定该表达式所代表的运算。The ExpressionKind property of an DbExpression can be retrieved to determine which operation that expression represents.

public enum class DbExpressionKind
public enum DbExpressionKind
type DbExpressionKind = 
Public Enum DbExpressionKind


All 0

true-for-all 表达式。true-for-all expressions.

And 1

逻辑与表达式。Logical AND expressions.

Any 2

true-for-any 表达式。true-for-any expressions.

Case 3

条件 Case 语句表达式。Conditional case statement expressions.

Cast 4

多态类型转换表达式。Polymorphic type cast expressions.

Constant 5

常量值表达式。Constant value expressions.

CrossApply 6

交叉应用表达式。Cross apply expressions.

CrossJoin 7

交叉联接表达式。Cross join expressions.

Deref 8

取消引用表达式。Dereference expressions.

Distinct 9

重复删除表达式。Duplicate removal expressions.

Divide 10

除法表达式。Division expressions.

Element 11

集到单独转换表达式。Set-to-singleton conversion expressions.

EntityRef 12

实体引用值检索表达式。Entity reference value retrieval expressions.

Equals 13

相等表达式。Equality expressions.

Except 14

集减法表达式。Set subtraction expressions.

Filter 15

限制表达式。Restriction expressions.

FullOuterJoin 16

完全外部联接表达式。Full outer join expressions.

Function 17

独立函数表达式。Standalone function expressions.

GreaterThan 18

大于表达式。Greater than expressions.

GreaterThanOrEquals 19

大于或等于表达式。Greater than or equal expressions.

GroupBy 20

分组表达式。Grouping expressions.

InnerJoin 21

内部联接表达式。Inner join expressions.

Intersect 22

交集表达式。Set intersection expressions.

IsEmpty 23

空集确定表达式。Empty set determination expressions.

IsNull 24

Null 确定表达式。Null determination expressions.

IsOf 25

类型比较(指定的类型或子类型)表达式。Type comparison (specified Type or Subtype) expressions.

IsOfOnly 26

类型比较(仅限指定的类型)表达式。Type comparison (specified Type only) expressions.

Lambda 57

Lambda 函数表达式。Lambda function expressions.

LeftOuterJoin 27

左外部联接表达式。Left outer join expressions.

LessThan 28

小于表达式。Less than expressions.

LessThanOrEquals 29

小于或等于表达式。Less than or equal expressions.

Like 30

字符串比较表达式。String comparison expressions.

Limit 31

结果计数限制 (TOP n)。Result count restriction (TOP n).

Minus 32

减法表达式。Subtraction expressions.

Modulo 33

取模表达式。Modulo expressions.

Multiply 34

乘法表达式。Multiplication expressions.

NewInstance 35

实例、行和集构造表达式。Instance, row, and set construction expressions.

Not 36

逻辑非表达式。Logical NOT expressions.

NotEquals 37

不等表达式。Inequality expressions.

Null 38

Null 表达式。Null expressions.

OfType 39

按类型(或子类型)的集成员表达式。Set members by type (or subtype) expressions.

OfTypeOnly 40

按确切类型的集成员表达式。Set members by exact type expressions.

Or 41

逻辑或表达式。Logical OR expressions.

OuterApply 42

外部应用表达式。Outer apply expressions.

ParameterReference 43

引用参数表达式。Reference to a parameter expressions.

Plus 44

加法表达式。Addition expressions.

Project 45

投影表达式。Projection expressions.

Property 46

静态或实例属性检索表达式。Static or instance property retrieval expressions.

Ref 47

引用表达式。Reference expressions.

RefKey 48

引用键值检索表达式。Ref key value retrieval expressions.

RelationshipNavigation 49

关系(组合或关联)导航表达式。Relationship (composition or association) navigation expressions.

Scan 50

实体集或关系集扫描表达式。Entity or relationship set scan expressions.

Skip 51

跳过有序集合中的元素。Skip elements of an ordered collection.

Sort 52

排序表达式。Sorting expressions.

Treat 53

类型转换表达式。Type conversion expressions.

UnaryMinus 54

求反表达式。Negation expressions.

UnionAll 55

并集(包含重复项)表达式。Set union (with duplicates) expressions.

VariableReference 56

引用变量表达式。Reference to a variable expressions.


使用 DbExpressionKind 枚举可指定不同类型的表达式。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.