Breyta

Deila með


DbExpressionBuilder.LessThanOrEqual(DbExpression, DbExpression) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbComparisonExpression ^ LessThanOrEqual(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbComparisonExpression LessThanOrEqual (this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member LessThanOrEqual : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbComparisonExpression
<Extension()>
Public Function LessThanOrEqual (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-or-equal-to comparison.

Exceptions

left or right is null.

No common result type that is both equality- and order-comparable exists between left and right.

Applies to