DbExpressionBuilder.Intersect(DbExpression, DbExpression) Metoda

Definice

Vytvoří novou DbIntersectExpression , která vypočítá průnik argumentů levé a pravé sady.

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

Výraz, který definuje argument sady vlevo.

right
DbExpression

Výraz, který definuje argument správné sady.

Návraty

Nový DbIntersectExpression, který představuje průnik argumentů vlevo a vpravo.

Výjimky

left nebo right má hodnotu null.

left Mezi nebo right.

Platí pro