SpatialEdmFunctions.IsEmptySpatial(DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 DbFunctionExpression 调用规范“IsEmptySpatial”函数的指定参数,该函数必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 表达式的结果类型为 Edm.Boolean。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ IsEmptySpatial(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression IsEmptySpatial(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member IsEmptySpatial : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsEmptySpatial (spatialValue As DbExpression) As DbFunctionExpression
参数
- spatialValue
- DbExpression
一个表达式,指定从中检索 IsEmptySpatial 值的空间值。
返回
一个新的 DbFunctionExpression,它返回一个布尔值,该值指示是否 spatialValue 为空。
例外
spatialValue
spatialValue