SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) 方法

定义

创建一个 DbFunctionExpression 调用规范“SpatialBuffer”函数的指定参数,该函数必须具有 Edm.Geography 或 Edm.Geometry 和 Edm.Double 结果类型。 表达式的结果类型为 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

参数

spatialValue
DbExpression

一个指定空间值的表达式。

distance
DbExpression

一个指定缓冲区距离的表达式。

返回

一个新的 DbFunctionExpression,它返回一个几何图形值,表示小于或等于 distancespatialValue中返回的所有点。

例外

spatialValue distance

spatialValue distance

适用于