Share via


SqlExpressionFactory.IsNotNull(SqlExpression) Method

Definition

Creates a new SqlExpression which represent inequality to null.

public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression IsNotNull (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand);
public virtual Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression IsNotNull (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand);
abstract member IsNotNull : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression
override this.IsNotNull : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression
abstract member IsNotNull : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
override this.IsNotNull : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Overridable Function IsNotNull (operand As SqlExpression) As SqlUnaryExpression
Public Overridable Function IsNotNull (operand As SqlExpression) As SqlExpression

Parameters

operand
SqlExpression

A SqlExpression to compare to non null.

Returns

An expression representing IS NOT NULL construct in a SQL tree.

Implements

Applies to