Επεξεργασία

Κοινή χρήση μέσω


DbExpressionBuilder.Except(DbExpression, DbExpression) Method

Definition

Creates a new DbExceptExpression that computes the subtraction of the right set argument from the left set argument.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbExceptExpression ^ Except(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbExceptExpression Except (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Except : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbExceptExpression
<Extension()>
Public Function Except (left As DbExpression, right As DbExpression) As DbExceptExpression

Parameters

left
DbExpression

An expression that defines the left set argument.

right
DbExpression

An expression that defines the right set argument.

Returns

A new DbExceptExpression that represents the difference of the left argument from the right argument.

Exceptions

left or right is null.

No common collection result type exists between left and right.

Applies to