DbExpressionBuilder.GreaterThan(DbExpression, DbExpression) Método
Definição
Cria uma nova DbComparisonExpression que determina se o argumento left é maior que o argumento right.Creates a new DbComparisonExpression that determines whether the left argument is greater than the right 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
Parâmetros
- left
- DbExpression
Uma expressão que especifica o argumento left.An expression that specifies the left argument.
- right
- DbExpression
Uma expressão que especifica o argumento direito.An expression that specifies the right argument.
Retornos
Uma nova DbComparisonExpression que representa a comparação maior que.A new DbComparisonExpression representing the greater-than comparison.
Exceções
left ou right é nulo.left or right is null.
Nenhum tipo de resultado comparável quanto à ordem existe entre left e right.No common order-comparable result type exists between left and right.