DbExpressionBuilder.Null(TypeUsage) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立新的 DbNullExpression,這個運算式表示具型別的 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
參數
- nullType
- TypeUsage
null 值的型別。
傳回
DbNullExpression 的執行個體。
例外狀況
nullType 為 null。