SpatialEdmFunctions.IsClosedSpatial(DbExpression) 方法

定义

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

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

参数

spatialValue
DbExpression

一个表达式,指定空间曲线数值(应通过该值检索 IsClosedSpatial 值)。

返回

一个新的 DbFunctionExpression,返回指示 spatialValue 是否关闭的布尔值;如果 spatialValue 不是曲线,则返回 null。

适用于