DbExpressionBuilder.Or(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an DbOrExpression that performs the logical Or of the left and right arguments.
public static System.Data.Entity.Core.Common.CommandTrees.DbOrExpression Or (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member Or : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for