SpatialEdmFunctions.SpatialRelate Metodo

Definizione

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

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialRelate(System::Data::Common::CommandTrees::DbExpression ^ geometryValue1, System::Data::Common::CommandTrees::DbExpression ^ geometryValue2, System::Data::Common::CommandTrees::DbExpression ^ intersectionPatternMatrix);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialRelate(this System.Data.Common.CommandTrees.DbExpression geometryValue1, System.Data.Common.CommandTrees.DbExpression geometryValue2, System.Data.Common.CommandTrees.DbExpression intersectionPatternMatrix);
static member SpatialRelate : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialRelate (geometryValue1 As DbExpression, geometryValue2 As DbExpression, intersectionPatternMatrix 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.

intersectionPatternMatrix
DbExpression

Espressione che specifica la rappresentazione testuale del modello di intersezione DE-9IM (Dimensionally Extended Nine-Intersection Model) utilizzata per confrontare geometryValue1 e geometryValue2.

Valori restituiti

Nuovo DbFunctionExpression che restituisce un valore booleano che indica se geometryValue1 è correlato a livello spaziale in geometryValue2 base alla relazione spaziale designata da intersectionPatternMatrix.

Eccezioni

geometryValue1 geometryValue2 intersectionPatternMatrix

geometryValue1 geometryValue2 intersectionPatternMatrix

Si applica a