DbExpressionBuilder.Null Method (TypeUsage)

 

Creates a new DbNullExpression, which represents a typed null value.

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

public static DbNullExpression Null(
	this TypeUsage nullType
)

Parameters

nullType
Type: System.Data.Entity.Core.Metadata.Edm.TypeUsage

The type of the null value.

Return Value

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

An instance of DbNullExpression.

Exception Condition
ArgumentNullException

nullType is null.