SqlExpressionFactory.OrElse(SqlExpression, SqlExpression) 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 a SqlExpression which represents a logical OR operation.
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression OrElse (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression OrElse (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
abstract member OrElse : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
override this.OrElse : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
abstract member OrElse : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.OrElse : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function OrElse (left As SqlExpression, right As SqlExpression) As SqlBinaryExpression
Public Overridable Function OrElse (left As SqlExpression, right As SqlExpression) As SqlExpression
Parameters
- left
- SqlExpression
The left operand.
- right
- SqlExpression
The right operand.
Returns
An expression representing a SQL OR operation.