Sdílet prostřednictvím


DbExpressionBuilder.Null(TypeUsage) Metoda

Definice

Vytvoří novou DbNullExpressionhodnotu , která představuje zadaná hodnota null.

public static System.Data.Entity.Core.Common.CommandTrees.DbNullExpression Null (this System.Data.Entity.Core.Metadata.Edm.TypeUsage nullType);
static member Null : System.Data.Entity.Core.Metadata.Edm.TypeUsage -> System.Data.Entity.Core.Common.CommandTrees.DbNullExpression
<Extension()>
Public Function Null (nullType As TypeUsage) As DbNullExpression

Parametry

nullType
TypeUsage

Typ hodnoty null.

Návraty

An instance of DbNullExpression.

Výjimky

nullType má hodnotu null.

Platí pro