Partilhar via


ISqlExpressionFactory.NotEqual(SqlExpression, SqlExpression) Method

Definition

Creates a SqlExpression which represents an inequality comparison.

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression NotEqual (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression NotEqual (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression left, Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression right);
abstract member NotEqual : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlBinaryExpression
abstract member NotEqual : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression * Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function NotEqual (left As SqlExpression, right As SqlExpression) As SqlBinaryExpression
Public Function NotEqual (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 inequality comparison.

Applies to