Partager via


SqlExpressionFactory.GreaterThan(SqlExpression, SqlExpression) Method

Definition

Creates a SqlExpression which represents a greater than comparison.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression GreaterThan (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression GreaterThan (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
abstract member GreaterThan : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
override this.GreaterThan : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
abstract member GreaterThan : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.GreaterThan : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function GreaterThan (left As SqlExpression, right As SqlExpression) As SqlBinaryExpression
Public Overridable Function GreaterThan (left As SqlExpression, right As SqlExpression) As SqlExpression

Parameters

left
SqlExpression

The left operand.

right
SqlExpression

The right operand.

Returns

An expression representing a SQL greater than comparison.

Implements

Applies to