SqlSpatialServices.Union Method
Computes the union of two specified values.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | Union(DbGeography, DbGeography) | Computes the union of two DbGeography values.(Overrides DbSpatialServices.Union(DbGeography, DbGeography).) |
![]() | Union(DbGeometry, DbGeometry) | Computes the union of two DbGeometry values.(Overrides DbSpatialServices.Union(DbGeometry, DbGeometry).) |
SqlSpatialServices.Union Method (DbGeography, DbGeography)
Computes the union of two DbGeography values.
public override DbGeography Union( DbGeography geographyValue, DbGeography otherGeography )
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The first geography value.
- otherGeography
-
Type:
System.Data.Entity.Spatial.DbGeography
The second geography value.
Return Value
Type: System.Data.Entity.Spatial.DbGeographyA new DbGeography value representing the union of geographyValue and otherGeography.
SqlSpatialServices.Union Method (DbGeometry, DbGeometry)
Computes the union of two DbGeometry values.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The first geometry value.
- otherGeometry
-
Type:
System.Data.Entity.Spatial.DbGeometry
The second geometry value.
Return Value
Type: System.Data.Entity.Spatial.DbGeometryA new DbGeometry value representing the union of geometryValue and otherGeometry.