ערוך

שתף באמצעות


SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) Method

Definition

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:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialBuffer(System::Data::Common::CommandTrees::DbExpression ^ spatialValue, System::Data::Common::CommandTrees::DbExpression ^ distance);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialBuffer (this System.Data.Common.CommandTrees.DbExpression spatialValue, System.Data.Common.CommandTrees.DbExpression distance);
static member SpatialBuffer : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.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.

Exceptions

spatialValue distance

spatialValue distance

Applies to