SpatialEdmFunctions.SpatialSymmetricDifference 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 DbFunctionExpression ,它使用指定的参数调用规范“SpatialSymmetricDifference”函数,每个参数都必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 spatialValue1 的结果类型必须与 spatialValue2 的结果类型匹配。 表达式的结果类型与 spatialValue1 和 spatialValue2 的类型相同。
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialSymmetricDifference(this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialSymmetricDifference : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialSymmetricDifference (spatialValue1 As DbExpression, spatialValue2 As DbExpression) As DbFunctionExpression
参数
- spatialValue1
- DbExpression
一个指定第一个空间值的表达式。
- spatialValue2
- DbExpression
一个表达式,指定应计算 spatialValue1 的对称差异的空间值。
返回
一个新的 DbFunctionExpression,返回表示 spatialValue2 与 spatialValue1 的对称差异的几何值。