SpatialEdmFunctions.SpatialDifference(DbExpression, DbExpression) Yöntem

Tanım

Her biri bir DbFunctionExpression Edm.Geography veya Edm.Geometry sonuç türüne sahip olması gereken belirtilen bağımsız değişkenlerle kurallı 'SpatialDifference' işlevini çağıran bir oluşturur. sonuç türü spatialValue1 , sonuç türüyle spatialValue2eşleşmelidir. İfadenin sonuç türü ve spatialValue2türüyle spatialValue1 aynıdır.

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

Parametreler

spatialValue1
DbExpression

İlk uzamsal değeri belirten ifade.

spatialValue2
DbExpression

Farkın spatialValue1 hesaplanması gereken uzamsal değeri belirten bir ifade.

Döndürülenler

ile spatialValue1arasındaki farkı spatialValue2 temsil eden geometri değerini döndüren yeni bir DbFunctionExpression.

Özel durumlar

spatialValue1 spatialValue2

spatialValue1 spatialValue2

Şunlara uygulanır