Compartilhar via


DbSpatialServices.Difference Método

Definição

Sobrecargas

Difference(DbGeography, DbGeography)

Calcula a diferença de dois valores DbGeography.

Difference(DbGeometry, DbGeometry)

Calcula a diferença entre dois valores DbGeometry.

Difference(DbGeography, DbGeography)

Calcula a diferença de dois valores 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

O primeiro valor de geografia.

otherGeography
DbGeography

O segundo valor de geografia.

Retornos

Um novo valor DbGeography que representa a diferença de geographyValue e otherGeography.

Exceções

geographyValue ouotherGeography é nulo.

geographyValue ouotherGeography não é compatível com essa implementação de serviços espaciais.

Aplica-se a

Difference(DbGeometry, DbGeometry)

Calcula a diferença entre dois 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

O primeiro valor de geometria.

otherGeometry
DbGeometry

O segundo valor de geometria.

Retornos

Um novo valor DbGeometry que representa a diferença entre geometryValue e otherGeometry.

Exceções

geometryValue ouotherGeometry é nulo.

geometryValue ouotherGeometry não é compatível com essa implementação de serviços espaciais.

Aplica-se a