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