DbExpressionBuilder.Intersect(DbExpression, DbExpression) Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Vytvoří nový DbIntersectExpression , který vypočítá průnik argumentů sady vlevo a vpravo.
public static System.Data.Entity.Core.Common.CommandTrees.DbIntersectExpression Intersect (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Intersect : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbIntersectExpression
<Extension()>
Public Function Intersect (left As DbExpression, right As DbExpression) As DbIntersectExpression
Parametry
- left
- DbExpression
Výraz, který definuje argument levé sady.
- right
- DbExpression
Výraz, který definuje argument správné sady.
Návraty
Nový DbIntersectExpression, který představuje průnik levého a pravého argumentu.
Výjimky
vlevo nebo vpravo má hodnotu null.
Mezi vlevo a vpravo neexistuje žádný běžný typ výsledku kolekce.
Platí pro
Entity Framework