SpatialEdmFunctions.SpatialCrosses(DbExpression, DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'SpatialCrosses' function with the specified arguments, which must each have an Edm.Geometry result type. The result type of the expression is Edm.Boolean.

C#
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialCrosses(this System.Data.Common.CommandTrees.DbExpression geometryValue1, System.Data.Common.CommandTrees.DbExpression geometryValue2);

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 crosses geometryValue2 intersect.

Exceptions

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Applies to

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1