SpatialEdmFunctions.SpatialIntersection(DbExpression, DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a canonical 'SpatialIntersection' függvényt a megadott argumentumokkal, amelyeknek Edm.Geography vagy Edm.Geometry eredménytípussal kell rendelkezniük. Az eredménytípusnak meg kell egyeznie spatialValue1 a következő eredménytípussal spatialValue2: . A kifejezés eredménytípusa megegyezik az és spatialValue1a spatialValue2 .

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialIntersection(System::Data::Common::CommandTrees::DbExpression ^ spatialValue1, System::Data::Common::CommandTrees::DbExpression ^ spatialValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialIntersection(this System.Data.Common.CommandTrees.DbExpression spatialValue1, System.Data.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialIntersection : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialIntersection (spatialValue1 As DbExpression, spatialValue2 As DbExpression) As DbFunctionExpression

Paraméterek

spatialValue1
DbExpression

Az első térbeli értéket meghatározó kifejezés.

spatialValue2
DbExpression

Egy kifejezés, amely meghatározza azt a térbeli értéket, amelyhez a metszetet spatialValue1 ki kell számítani.

Válaszok

Egy új DbFunctionExpression, amely a térbeli értéket adja vissza, amely a metszéspontot spatialValue1 és spatialValue2a .

Kivételek

spatialValue1 spatialValue2

spatialValue1 spatialValue2

A következőre érvényes: