DbExpressionBuilder.Except(DbExpression, DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个新 DbExceptExpression 值,用于计算从左集参数中减去右集参数。
public static System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression Except(this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Except : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbExceptExpression
<Extension()>
Public Function Except (left As DbExpression, right As DbExpression) As DbExceptExpression
参数
- left
- DbExpression
定义左集参数的表达式。
- right
- DbExpression
定义正确的集参数的表达式。
返回
一个新的 DbExceptExpression,表示左自变量与右自变量的区别。
例外
向左或向右为 null。
左侧和右侧之间不存在常见的集合结果类型。