Udostępnij przez


DbExpressionBuilder.And(DbExpression, DbExpression) Metoda

Definicja

Tworzy element DbAndExpression , który wykonuje logiczne argumenty And po lewej i prawej stronie.

public static System.Data.Entity.Core.Common.CommandTrees.DbAndExpression And(this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member And : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbAndExpression
<Extension()>
Public Function And (left As DbExpression, right As DbExpression) As DbAndExpression

Parametry

left
DbExpression

Wyrażenie logiczne określające argument po lewej stronie.

right
DbExpression

Wyrażenie logiczne, które określa właściwy argument.

Zwraca

Nowa baza danych DbAndExpression z określonymi argumentami.

Wyjątki

lewy lub prawy ma wartość null.

w lewo i w prawo nie ma typu wyniku logicznego.

Dotyczy