DbExpressionBuilder.Or(DbExpression, DbExpression) Método

Definição

Cria uma DbOrExpression que executa a Or lógica dos argumentos left e right.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

Parâmetros

left
DbExpression

Uma expressão booliana que especifica o argumento left.A Boolean expression that specifies the left argument.

right
DbExpression

Uma expressão booliana que especifica o argumento direito.A Boolean expression that specifies the right argument.

Retornos

DbOrExpression

Uma nova DbOrExpression com os argumentos especificados.A new DbOrExpression with the specified arguments.

Exceções

left ou right é nulo.left or right is null.

left ou right não tem um tipo de resultado booliano.left or right does not have a Boolean result type.

Aplica-se a