Condividi tramite


SpatialEdmFunctions.SpatialRelate Metodo

Definizione

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

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialRelate (this System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue2, System.Data.Entity.Core.Common.CommandTrees.DbExpression intersectionPatternMatrix);
static member SpatialRelate : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.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 di geometria.

geometryValue2
DbExpression

Espressione che specifica il valore geometrico da confrontare con geometryValue1.

intersectionPatternMatrix
DbExpression

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

Restituisce

Nuovo DbFunctionExpression che restituisce un valore booleano che indica se geometryValue1 è correlato in modo spaziale a geometryValue2 in base alla relazione spaziale designata dall'intersezionePatternMatrix.

Si applica a