DbExpressionBuilder.Null Method (TypeUsage)

.NET Framework (current version)
 

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

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

public static DbNullExpression Null(
	this TypeUsage nullType
)

Parameters

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

The type of the null value.

Return Value

Type: System.Data.Common.CommandTrees.DbNullExpression

An instance of DbNullExpression.

Exception Condition
ArgumentNullException

nullType is null.

.NET Framework
Available since 4.5
Return to top
Show: