Udostępnij przez


SqlSpatialServices.SpatialEquals Metoda

Definicja

Przeciążenia

SpatialEquals(DbGeography, DbGeography)

Określa, czy dwie podane DbGeography wartości są równe przestrzennie.

SpatialEquals(DbGeometry, DbGeometry)

Określa, czy dwie podane DbGeometry wartości są równe przestrzennie.

SpatialEquals(DbGeography, DbGeography)

Określa, czy dwie podane DbGeography wartości są równe przestrzennie.

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

Parametry

geographyValue
DbGeography

Pierwsza wartość geografii do porównania pod kątem równości.

otherGeography
DbGeography

Druga wartość geografii do porównania pod kątem równości.

Zwraca

wartość true, jeśli wartość geographyValue jest przestrzennie równa innąGeography; w przeciwnym razie wartość false.

Dotyczy

SpatialEquals(DbGeometry, DbGeometry)

Określa, czy dwie podane DbGeometry wartości są równe przestrzennie.

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna do porównania pod kątem równości.

otherGeometry
DbGeometry

Druga wartość geometryczna do porównania pod kątem równości.

Zwraca

wartość true, jeśli wartość geometryValue jest przestrzennie równa innegoGeometry; w przeciwnym razie wartość false.

Dotyczy