อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


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.

C#
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialBuffer(this System.Data.Common.CommandTrees.DbExpression spatialValue, System.Data.Common.CommandTrees.DbExpression distance);

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

ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1