共用方式為


ISqlExpressionFactory.IsNotNull(SqlExpression) Method

Definition

Creates a new SqlExpression which represent inequality to null.

public Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlUnaryExpression IsNotNull (Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression operand);
public 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
abstract member IsNotNull : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression -> Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression
Public Function IsNotNull (operand As SqlExpression) As SqlUnaryExpression
Public 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.

Applies to