SpatialEdmFunctions.SpatialOverlaps(DbExpression, DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'SpatialOverlaps' canonica con gli argomenti specificati, ognuno dei quali deve 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 ^ SpatialOverlaps(System::Data::Common::CommandTrees::DbExpression ^ geometryValue1, System::Data::Common::CommandTrees::DbExpression ^ geometryValue2);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialOverlaps(this System.Data.Common.CommandTrees.DbExpression geometryValue1, System.Data.Common.CommandTrees.DbExpression geometryValue2);
static member SpatialOverlaps : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialOverlaps (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 Oggetto DbFunctionExpression che restituisce un valore booleano che indica se geometryValue1 si sovrappone in geometryValue2modo spaziale a .

Eccezioni

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Si applica a