SpatialEdmFunctions.SpatialWithin(DbExpression, DbExpression) Metódus

Definíció

Létrehoz egy DbFunctionExpression olyan értéket, amely meghívja a canonical 'SpatialWithin' 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 ^ SpatialWithin(System::Data::Common::CommandTrees::DbExpression ^ geometryValue1, System::Data::Common::CommandTrees::DbExpression ^ geometryValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialWithin(this System.Data.Common.CommandTrees.DbExpression geometryValue1, System.Data.Common.CommandTrees.DbExpression geometryValue2);
static member SpatialWithin : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialWithin (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 egy logikai értéket ad vissza, amely azt jelzi, hogy térbeli belül geometryValue1van-egeometryValue2.

Kivételek

geometryValue1 geometryValue2

geometryValue1 geometryValue2

A következőre érvényes: