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。