DbExpressionBuilder.Intersect(DbExpression, DbExpression) Metoda

Definicja

Tworzy nowy DbIntersectExpression element, który oblicza przecięcie argumentów zestawu po lewej i prawej stronie.

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

Parametry

left
DbExpression

Wyrażenie definiujące argument zestawu po lewej stronie.

right
DbExpression

Wyrażenie definiujące odpowiedni argument zestawu.

Zwraca

Nowy element DbIntersectExpression reprezentujący przecięcie argumentów po lewej i prawej stronie.

Wyjątki

left lub right ma wartość null.

Brak typowego wyniku kolekcji między elementami left lub right.

Dotyczy