Redigera

Dela via


DbExpressionBuilder.Null(TypeUsage) Method

Definition

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbNullExpression ^ Null(System::Data::Metadata::Edm::TypeUsage ^ nullType);
public static System.Data.Common.CommandTrees.DbNullExpression Null (this System.Data.Metadata.Edm.TypeUsage nullType);
static member Null : System.Data.Metadata.Edm.TypeUsage -> System.Data.Common.CommandTrees.DbNullExpression
<Extension()>
Public Function Null (nullType As TypeUsage) As DbNullExpression

Parameters

nullType
TypeUsage

The type of the null value.

Returns

An instance of DbNullExpression.

Exceptions

nullType is null.

Applies to