SpatialEdmFunctions.SpatialCrosses(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'SpatialCrosses' canonica con gli argomenti specificati, che devono avere un tipo di risultato Edm.Geometry. Il tipo di risultato dell'espressione è Edm.Boolean.

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

Parametri

geometryValue1
DbExpression

Espressione che specifica il primo valore geometry.

geometryValue2
DbExpression

Espressione che specifica il valore geometry da confrontare con geometryValue1.

Valori restituiti

Nuovo DbFunctionExpression che restituisce un valore booleano che indica se geometryValue1 interseca le geometryValue2 intersezioni.

Eccezioni

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Si applica a