DbSpatialServices.Disjoint Method
Determines whether the two given values are spatially disjoint.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Disjoint(DbGeography, DbGeography) | Determines whether the two given DbGeography values are spatially disjoint. |
![]() | Disjoint(DbGeometry, DbGeometry) | Determines whether the two given DbGeometry values are spatially disjoint. |
DbSpatialServices.Disjoint Method (DbGeography, DbGeography)
Determines whether the two given DbGeography values are spatially disjoint.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The first geography value to compare for disjointness.
- otherGeography
-
Type:
System.Data.Entity.Spatial.DbGeography
The second geography value to compare for disjointness.
Return Value
Type: System.Booleantrue if geographyValue is disjoint from otherGeography; otherwise, false.
Exception | Condition |
---|---|
ArgumentNullException | geographyValue or otherGeography is null. |
ArgumentException | geographyValue or otherGeography is not compatible with this spatial services implementation. |
DbSpatialServices.Disjoint Method (DbGeometry, DbGeometry)
Determines whether the two given DbGeometry values are spatially disjoint.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The first geometry value to compare for disjointness.
- otherGeometry
-
Type:
System.Data.Entity.Spatial.DbGeometry
The second geometry value to compare for disjointness.
Return Value
Type: System.Booleantrue if geometryValue is disjoint from otherGeometry; otherwise, false.
Exception | Condition |
---|---|
ArgumentNullException | geometryValue or otherGeometry is null. |
ArgumentException | geometryValue or otherGeometry is not compatible with this spatial services implementation. |