DbGeometry.SpatialEquals Method (DbGeometry)

 

Determines whether this DbGeometry is spatially equal to the specified DbGeometry argument.

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

public bool SpatialEquals(
	DbGeometry other
)

Parameters

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

The geometry value that should be compared with this geometry value for equality.

Return Value

Type: System.Boolean

true if other is spatially equal to this geometry value; otherwise, false.

Exception Condition
ArgumentNullException

other is null.