Sdílet prostřednictvím


SpatialEdmFunctions.SpatialTouches(DbExpression, DbExpression) Metoda

Definice

Vytvoří , DbFunctionExpression který vyvolá kanonické 'SpatialTouches' funkce se zadanými argumenty, které musí mít každý typ výsledku Edm.Geometry. Typ výsledku výrazu je Edm.Boolean.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialTouches (this System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue2);
static member SpatialTouches : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialTouches (geometryValue1 As DbExpression, geometryValue2 As DbExpression) As DbFunctionExpression

Parametry

geometryValue1
DbExpression

Výraz, který určuje první hodnotu geometrie.

geometryValue2
DbExpression

Výraz, který určuje hodnotu geometrie, která by měla být porovnána s geometryValue1.

Návraty

Nový DbFunctionExpression, který vrací boolean hodnotu označující, zda geometryValue1 dotkne geometryValue2.

Platí pro