语言

SpatialEdmFunctions.SpatialDisjoint(DbExpression, DbExpression) 方法

定义

创建一个 DbFunctionExpression 调用规范“SpatialDisjoint”函数的指定参数,每个参数必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 结果类型 spatialValue1 必须与结果类型 spatialValue2匹配。 表达式的结果类型为 Edm.Boolean。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialDisjoint(System::Data::Common::CommandTrees::DbExpression ^ spatialValue1, System::Data::Common::CommandTrees::DbExpression ^ spatialValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialDisjoint(this System.Data.Common.CommandTrees.DbExpression spatialValue1, System.Data.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialDisjoint : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialDisjoint (spatialValue1 As DbExpression, spatialValue2 As DbExpression) As DbFunctionExpression

参数

spatialValue1
DbExpression

一个指定第一个空间值的表达式。

spatialValue2
DbExpression

一个表达式,指定应与 spatialValue1 不相交进行比较的空间值。

返回

一个新的 DbFunctionExpression,它返回一个布尔值,该值指示是否 spatialValue1 在 spatialValue2 空间上不相交。

例外

spatialValue1 spatialValue2

spatialValue1 spatialValue2

适用于