SpatialEdmFunctions.SpatialCrosses(DbExpression, DbExpression) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialCrosses (this System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue2);
static member SpatialCrosses : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialCrosses (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 crosses geometryValue2 intersect.
Applies to
Entity Framework