SpatialEdmFunctions.IsEmptySpatial(DbExpression) 方法

定义

创建 DbFunctionExpression,它使用指定参数(该参数必须具有 Edm.Geography 或 Edm.Geometry 结果类型)调用规范 'IsEmptySpatial' 函数。 表达式的结果类型为 Edm.Boolean。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression IsEmptySpatial (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member IsEmptySpatial : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsEmptySpatial (spatialValue As DbExpression) As DbFunctionExpression

参数

spatialValue
DbExpression

一个表达式,指定应从中检索 IsEmptySptiaal 值的空间值。

返回

一个新的 DbFunctionExpression,返回指示 spatialValue 是否为空的布尔值。

适用于