Прочетете на английски Редактиране

Споделяне чрез


DbExpressionBuilder.And(DbExpression, DbExpression) Method

Definition

Creates an DbAndExpression that performs the logical And of the left and right arguments.

C#
public static System.Data.Common.CommandTrees.DbAndExpression And(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);

Parameters

left
DbExpression

A Boolean expression that specifies the left argument.

right
DbExpression

A Boolean expression that specifies the right argument.

Returns

A new DbAndExpression with the specified arguments.

Exceptions

left or right is null.

left and right does not have a Boolean result type.

Applies to

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1