SqlSpatialServices.SpatialEquals Method

Definition

Overloads

SpatialEquals(DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially equal.

SpatialEquals(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially equal.

SpatialEquals(DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially equal.

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

Parameters

geographyValue
DbGeography

The first geography value to compare for equality.

otherGeography
DbGeography

The second geography value to compare for equality.

Returns

true if geographyValue is spatially equal to otherGeography; otherwise false.

Applies to

SpatialEquals(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially equal.

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

Parameters

geometryValue
DbGeometry

The first geometry value to compare for equality.

otherGeometry
DbGeometry

The second geometry value to compare for equality.

Returns

true if geometryValue is spatially equal to otherGeometry; otherwise false.

Applies to