Compartir a través de


DbSpatialServices.Difference Método

Definición

Sobrecargas

Difference(DbGeography, DbGeography)

Calcula la diferencia de dos valores de DbGeography .

Difference(DbGeometry, DbGeometry)

Calcula la diferencia entre dos valores DbGeometry.

Difference(DbGeography, DbGeography)

Calcula la diferencia de dos valores de DbGeography .

public abstract System.Data.Entity.Spatial.DbGeography Difference (System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
abstract member Difference : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function Difference (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

Parámetros

geographyValue
DbGeography

Primer valor de geografía.

otherGeography
DbGeography

Segundo valor de geografía.

Devoluciones

Nuevo valor DbGeography que representa la diferencia de geographyValue y otherGeography.

Excepciones

geographyValue ootherGeography es null.

geographyValue ootherGeography no es compatible con esta implementación de servicios espaciales.

Se aplica a

Difference(DbGeometry, DbGeometry)

Calcula la diferencia entre dos valores DbGeometry.

public abstract System.Data.Entity.Spatial.DbGeometry Difference (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
abstract member Difference : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function Difference (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

Parámetros

geometryValue
DbGeometry

Primer valor de geometría.

otherGeometry
DbGeometry

Segundo valor de geometría.

Devoluciones

Nuevo valor DbGeometry que representa la diferencia entre geometryValue y otherGeometry.

Excepciones

geometryValue ootherGeometry es null.

geometryValue ootherGeometry no es compatible con esta implementación de servicios espaciales.

Se aplica a