Поделиться через


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 и otherGeography.

Применяется к

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 и otherGeometry.

Применяется к