DbExpressionBuilder.Intersect(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 DbIntersectExpression that computes the intersection of the left and right set arguments.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbIntersectExpression ^ Intersect(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbIntersectExpression Intersect (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Intersect : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbIntersectExpression
<Extension()>
Public Function Intersect (left As DbExpression, right As DbExpression) As DbIntersectExpression
Parameters
- left
- DbExpression
An expression that defines the left set argument.
- right
- DbExpression
An expression that defines the right set argument.
Returns
A new DbIntersectExpression that represents the intersection of the left and right arguments.
Exceptions
left
or right
is null.
No common collection result type exists between left
or right
.
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk