SpatialEdmFunctions.IsClosedSpatial(DbExpression) 方法

定义

创建一个 DbFunctionExpression 使用指定参数调用规范的“IsClosedSpatial”函数,该函数必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 结果类型为 Edm.Boolean。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ IsClosedSpatial(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression IsClosedSpatial(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member IsClosedSpatial : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function IsClosedSpatial (spatialValue As DbExpression) As DbFunctionExpression

参数

spatialValue
DbExpression

一个表达式,指定从中检索 IsClosedSpatial 值的空间曲线值。

返回

一个新的 DbFunctionExpression,它返回一个布尔值,该值指示是关闭spatialValuenull还是spatialValue不是曲线。

例外

spatialValue

spatialValue

适用于