SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a "SpatialBuffer" függvényt a megadott argumentumokkal, amelyeknek Edm.Geography vagy Edm.Geometry és Edm.Double típusúnak kell lenniük. A kifejezés eredménytípusa 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

Paraméterek

spatialValue
DbExpression

A térbeli értéket meghatározó kifejezés.

distance
DbExpression

A puffer távolságát meghatározó kifejezés.

Válaszok

Új DbFunctionExpression, amely egy geometriai értéket ad vissza, amely az összes pontnál kisebb vagy egyenlő distancespatialValue.

Kivételek

spatialValue distance

spatialValue distance

A következőre érvényes: