SpatialEdmFunctions.SpatialContains(DbExpression, DbExpression) Yöntem

Tanım

DbFunctionExpressionKurallı ' SpatialContains ' işlevini, her birinin bir EDM. Geometry sonuç türüne sahip olması gereken bağımsız değişkenlerle çağıran bir oluşturur.Creates a DbFunctionExpression that invokes the canonical 'SpatialContains' function with the specified arguments, which must each have an Edm.Geometry result type. İfadenin sonuç türü Edm. Boolean ' dir.The result type of the expression is Edm.Boolean.

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

Parametreler

geometryValue1
DbExpression

İlk geometri değerini belirten bir ifade.An expression that specifies the first geometry value.

geometryValue2
DbExpression

İle Karşılaştırılacak geometri değerini belirten bir ifade geometryValue1 .An expression that specifies the geometry value that should be compared with geometryValue1.

Döndürülenler

DbFunctionExpression

Maça 'un içerip içermediğini gösteren bir Boole değeri döndüren yeni bir DbFunctionExpression geometryValue1 geometryValue2 .A new DbFunctionExpression that returns a Boolean value indicating whether geometryValue1 spatially contains geometryValue2.

Özel durumlar

geometryValue1 geometryValue2

geometryValue1 geometryValue2

Şunlara uygulanır