语言

SqlSpatialServices.Difference 方法

定义

重载

名称 说明
Difference(DbGeography, DbGeography)

计算两 DbGeography 个值的差值。

Difference(DbGeometry, DbGeometry)

计算两 DbGeometry 个值之间的差异。

Difference(DbGeography, DbGeography)

计算两 DbGeography 个值的差值。

public override System.Data.Entity.Spatial.DbGeography Difference(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
override this.Difference : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function Difference (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

参数

geographyValue
DbGeography

第一个地理值。

otherGeography
DbGeography

第二个地理值。

返回

一个新的 DbGeography 值,表示 geographyValue 和其他Geography 的差异。

适用于

Difference(DbGeometry, DbGeometry)

计算两 DbGeometry 个值之间的差异。

public override System.Data.Entity.Spatial.DbGeometry Difference(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Difference : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public Overrides Function Difference (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

参数

geometryValue
DbGeometry

第一个几何图形值。

otherGeometry
DbGeometry

第二个几何图形值。

返回

一个新的 DbGeometry 值,表示 geometryValue 和其他Geometry 之间的差异。

适用于