SqlSpatialServices.Buffer Method
Creates a value representing all points.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | Buffer(DbGeography, Double) | Creates a geography value representing all points less than or equal to distance from the given DbGeography value.(Overrides DbSpatialServices.Buffer(DbGeography, Double).) |
![]() | Buffer(DbGeometry, Double) | Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.(Overrides DbSpatialServices.Buffer(DbGeometry, Double).) |
SqlSpatialServices.Buffer Method (DbGeography, Double)
Creates a geography value representing all points less than or equal to distance from the given DbGeography value.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value.
- distance
-
Type:
System.Double
A double value specifying how far from geographyValue to buffer.
Return Value
Type: System.Data.Entity.Spatial.DbGeographyA new DbGeography value representing all points less than or equal to distance from geographyValue.
SqlSpatialServices.Buffer Method (DbGeometry, Double)
Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value.
- distance
-
Type:
System.Double
A double value specifying how far from geometryValue to buffer.
Return Value
Type: System.Data.Entity.Spatial.DbGeometryA new DbGeometry value representing all points less than or equal to distance from geometryValue.