DbExpressionBuilder.Except(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om