Szerkesztés

Megosztás a következőn keresztül:


DbExpressionBuilder.Or(DbExpression, DbExpression) Method

Definition

Creates an DbOrExpression that performs the logical Or of the left and right arguments.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbOrExpression ^ Or(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbOrExpression Or (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member Or : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbOrExpression
<Extension()>
Public Function Or (left As DbExpression, right As DbExpression) As DbOrExpression

Parameters

left
DbExpression

A Boolean expression that specifies the left argument.

right
DbExpression

A Boolean expression that specifies the right argument.

Returns

A new DbOrExpression with the specified arguments.

Exceptions

left or right is null.

left or right does not have a Boolean result type.

Applies to