DbExpressionBuilder.IsNull Method (DbExpression)

 

Creates a new DbIsNullExpression that determines whether the specified argument is null.

Namespace:   System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbIsNullExpression IsNull(
	this DbExpression argument
)

Parameters

argument
Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

An expression that specifies the argument.

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbIsNullExpression

A new DbIsNullExpression with the specified argument.

Exception Condition
ArgumentNullException

argument is null.

ArgumentException

argument has a collection result type.