DbExpressionBuilder.Or Method (DbExpression, DbExpression)
Creates an DbOrExpression that performs the logical Or of the left and right arguments.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- left
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
A Boolean expression that specifies the left argument.
- right
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
A Boolean expression that specifies the right argument.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbOrExpressionA new DbOrExpression with the specified arguments.
Exception | Condition |
---|---|
ArgumentNullException | leftright |
ArgumentException | leftright |