SpatialEdmFunctions.SpatialOverlaps(DbExpression, DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a canonical 'SpatialOverlaps' függvényt a megadott argumentumokkal, amelyeknek Edm.Geometry eredménytípussal kell rendelkezniük. A kifejezés eredménytípusa Edm.Boolean.

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

Paraméterek

geometryValue1
DbExpression

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

geometryValue2
DbExpression

Egy kifejezés, amely megadja a mértani értéket, amelyet geometryValue1össze kell hasonlítani.

Válaszok

Egy új DbFunctionExpression, amely logikai értéket ad vissza, amely jelzi, hogy térbeli átfedések vannak-e geometryValue1geometryValue2.

Kivételek

geometryValue1 geometryValue2

geometryValue1 geometryValue2

A következőre érvényes: