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, возвращающее геометрическое значение, представляющее все точки меньше или равноdistance.spatialValue

Исключения

spatialValue distance

spatialValue distance

Применяется к