SpatialEdmFunctions.SpatialTouches(DbExpression, DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska funktionen SpatialTouches med de angivna argumenten, som var och en måste ha resultattypen Edm.Geometry. Resultattypen för uttrycket är Edm.Boolean.

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

Parametrar

geometryValue1
DbExpression

Ett uttryck som anger det första geometrivärdet.

geometryValue2
DbExpression

Ett uttryck som anger det geometrivärde som ska jämföras med geometryValue1.

Returer

En ny DbFunctionExpression som returnerar ett booleskt värde som anger om geometryValue1 berör geometryValue2.

Undantag

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Gäller för