DbSpatialServices.Contains Method (DbGeometry, DbGeometry)
Determines whether one DbGeometry value spatially contains the other.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The first geometry value.
- otherGeometry
-
Type:
System.Data.Entity.Spatial.DbGeometry
The second geometry value.
Exception | Condition |
---|---|
ArgumentNullException | geometryValue or otherGeometry is null. |
ArgumentException | geometryValue or otherGeometry is not compatible with this spatial services implementation. |