SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 DbFunctionExpression 调用规范“SpatialBuffer”函数的指定参数,该函数必须具有 Edm.Geography 或 Edm.Geometry 和 Edm.Double 结果类型。 表达式的结果类型为 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
参数
- spatialValue
- DbExpression
一个指定空间值的表达式。
- distance
- DbExpression
一个指定缓冲区距离的表达式。
返回
一个新的 DbFunctionExpression,它返回一个几何图形值,表示所有小于或等于空间值距离的点。