SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a DbFunctionExpression that invokes the canonical 'SpatialBuffer' function with the specified arguments, which must have a Edm.Geography or Edm.Geometry and Edm.Double result types. The result type of the expression is Edm.Geometry.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialBuffer (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue, System.Data.Entity.Core.Common.CommandTrees.DbExpression distance);
static member SpatialBuffer : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialBuffer (spatialValue As DbExpression, distance As DbExpression) As DbFunctionExpression
Parameters
- spatialValue
- DbExpression
An expression that specifies the spatial value.
- distance
- DbExpression
An expression that specifies the buffer distance.
Returns
A new DbFunctionExpression that returns a geometry value representing all points less than or equal to distance from spatialValue.
Applies to
Entity Framework