Επεξεργασία

Κοινή χρήση μέσω


SpatialEdmFunctions.SpatialTouches(DbExpression, DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'SpatialTouches' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is 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

Parameters

geometryValue1
DbExpression

An expression that specifies the first geometry value.

geometryValue2
DbExpression

An expression that specifies the geometry value that should be compared with geometryValue1.

Returns

A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 touches geometryValue2.

Exceptions

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Applies to