DbExpressionBuilder.LessThanOrEqual(DbExpression, DbExpression) Metoda

Definice

Vytvoří novou DbComparisonExpression , která určuje, zda je levý argument menší nebo roven pravému argumentu.

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

Parametry

left
DbExpression

Výraz, který určuje levý argument.

right
DbExpression

Výraz, který určuje správný argument.

Návraty

Nový DbComparisonExpression představující porovnání menší než nebo rovno.

Výjimky

left nebo right má hodnotu null.

Neexistuje žádný společný typ výsledku, který by byl srovnatelný s rovností a pořadím.leftright

Platí pro