Share via


DbExpressionBuilder.LessThan(DbExpression, DbExpression) Method

Definition

Creates a new DbComparisonExpression that determines whether the left argument is less than the right argument.

public static System.Data.Entity.Core.Common.CommandTrees.DbComparisonExpression LessThan (this System.Data.Entity.Core.Common.CommandTrees.DbExpression left, System.Data.Entity.Core.Common.CommandTrees.DbExpression right);
static member LessThan : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbComparisonExpression
<Extension()>
Public Function LessThan (left As DbExpression, right As DbExpression) As DbComparisonExpression

Parameters

left
DbExpression

An expression that specifies the left argument.

right
DbExpression

An expression that specifies the right argument.

Returns

A new DbComparisonExpression representing the less-than comparison.

Exceptions

left or right is null.

No common order-comparable result type exists between left and right.

Applies to