Idioma

DbSpatialServices.SpatialEquals Método

Definição

Sobrecargas

Nome Descrição
SpatialEquals(DbGeography, DbGeography)

Determina se os dois valores fornecidos DbGeography são espacialmente iguais.

SpatialEquals(DbGeometry, DbGeometry)

Determina se os dois valores fornecidos DbGeometry são espacialmente iguais.

SpatialEquals(DbGeography, DbGeography)

Determina se os dois valores fornecidos DbGeography são espacialmente iguais.

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

Parâmetros

geographyValue
DbGeography

O primeiro valor de geografia a ser comparado quanto à igualdade.

otherGeography
DbGeography

O segundo valor de geografia a ser comparado quanto à igualdade.

Retornos

true se geographyValue é espacialmente igual a otherGeography; caso contrário, false.

Exceções

geographyValue ou otherGeography é nulo.

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

Aplica-se a

SpatialEquals(DbGeometry, DbGeometry)

Determina se os dois valores fornecidos DbGeometry são espacialmente iguais.

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

Parâmetros

geometryValue
DbGeometry

O primeiro valor de geometria a ser comparado quanto à igualdade.

otherGeometry
DbGeometry

O segundo valor de geometria a ser comparado quanto à igualdade.

Retornos

true se geometryValue é espacialmente igual a otherGeometry; caso contrário, false.

Exceções

geometryValue ou otherGeometry é nulo.

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

Aplica-se a