SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression , který vyvolá kanonickou funkci SpatialBuffer se zadanými argumenty, které musí mít typy výsledků Edm.Geography nebo Edm.Geometry a Edm.Double. Typ výsledku výrazu je 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

Parametry

spatialValue
DbExpression

Výraz, který určuje prostorovou hodnotu.

distance
DbExpression

Výraz, který určuje vzdálenost vyrovnávací paměti.

Návraty

Nový DbFunctionExpression, který vrátí geometrii hodnotu představující všechny body menší než nebo rovno distance od spatialValue.

Výjimky

spatialValue distance

spatialValue distance

Platí pro