SpatialEdmFunctions.SpatialSymmetricDifference Método

Definición

Crea un DbFunctionExpression objeto que invoca la función 'SpatialSymmetricDifference' canónica con los argumentos especificados, que deben tener un tipo de resultado Edm.Geography o Edm.Geometry. El tipo de resultado de spatialValue1 debe coincidir con el tipo de resultado de spatialValue2. El tipo de resultado de la expresión es el mismo que el tipo de spatialValue1 y spatialValue2.

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

Parámetros

spatialValue1
DbExpression

Expresión que especifica el primer valor espacial.

spatialValue2
DbExpression

Expresión que especifica el valor espacial con el que se debe calcular la diferencia simétrica con spatialValue1 .

Devoluciones

Nuevo DbFunctionExpression que devuelve el valor geometry que representa la diferencia simétrica de spatialValue2 con spatialValue1.

Excepciones

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Se aplica a