Sdílet prostřednictvím


SpatialEdmFunctions.SpatialSymmetricDifference Metoda

Definice

Vytvoří , DbFunctionExpression který vyvolá kanonický 'SpatialSymmetricDifference' funkce se zadanými argumenty, které musí mít typ výsledku Edm.Geography nebo Edm.Geometry. Typ výsledku spatialValue1 musí odpovídat typu výsledku spatialValue2. Typ výsledku výrazu je stejný jako typ spatialValue1 a spatialValue2.

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialSymmetricDifference (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue1, System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue2);
static member SpatialSymmetricDifference : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialSymmetricDifference (spatialValue1 As DbExpression, spatialValue2 As DbExpression) As DbFunctionExpression

Parametry

spatialValue1
DbExpression

Výraz, který určuje první prostorovou hodnotu.

spatialValue2
DbExpression

Výraz, který určuje prostorovou hodnotu, pro kterou by se měl vypočítat symetrický rozdíl s spatialValue1.

Návraty

Nový DbFunctionExpression, který vrací hodnotu geometrie představující symetrický rozdíl spatialValue2 s spatialValue1.

Platí pro