DbExpressionBuilder.GreaterThan(DbExpression, DbExpression) Metoda

Definice

Vytvoří novou DbComparisonExpression , která určuje, zda je levý argument větší než pravý argument.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbComparisonExpression ^ GreaterThan(System::Data::Common::CommandTrees::DbExpression ^ left, System::Data::Common::CommandTrees::DbExpression ^ right);
public static System.Data.Common.CommandTrees.DbComparisonExpression GreaterThan(this System.Data.Common.CommandTrees.DbExpression left, System.Data.Common.CommandTrees.DbExpression right);
static member GreaterThan : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbComparisonExpression
<Extension()>
Public Function GreaterThan (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í větší než.

Výjimky

left nebo right má hodnotu null.

Mezi a leftright.

Platí pro