Sdílet prostřednictvím


SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) Metoda

Definice

Vytvoří , DbFunctionExpression který vyvolá kanonické 'SpatialBuffer' funkce 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 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

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ý vrací hodnotu geometrie představující všechny body menší než nebo rovny vzdálenosti od spatialValue.

Platí pro