SqlSpatialServices.SpatialEquals Method

 

Determines whether the two given values are spatially equal.

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

NameDescription
System_CAPS_pubmethodSpatialEquals(DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially equal.(Overrides DbSpatialServices.SpatialEquals(DbGeography, DbGeography).)

System_CAPS_pubmethodSpatialEquals(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially equal.(Overrides DbSpatialServices.SpatialEquals(DbGeometry, DbGeometry).)


SqlSpatialServices.SpatialEquals Method (DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially equal.

public override bool SpatialEquals(
	DbGeography geographyValue,
	DbGeography otherGeography
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The first geography value to compare for equality.

otherGeography
Type: System.Data.Entity.Spatial.DbGeography

The second geography value to compare for equality.

Return Value

Type: System.Boolean

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


SqlSpatialServices.SpatialEquals Method (DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially equal.

public override bool SpatialEquals(
	DbGeometry geometryValue,
	DbGeometry otherGeometry
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The first geometry value to compare for equality.

otherGeometry
Type: System.Data.Entity.Spatial.DbGeometry

The second geometry value to compare for equality.

Return Value

Type: System.Boolean

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