SqlSpatialFunctions.Filter 方法

定义

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeography 实例相交(假设索引可用)。

重载

Filter(DbGeography, DbGeography)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeography 实例相交(假设索引可用)。

Filter(DbGeometry, DbGeometry)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeometry 实例相交(假设索引可用)。

Filter(DbGeography, DbGeography)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeography 实例相交(假设索引可用)。

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ geographyOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> Nullable<bool>
Public Shared Function Filter (geographyValue As DbGeography, geographyOther As DbGeography) As Nullable(Of Boolean)

参数

geographyValue
DbGeography

地理值。

geographyOther
DbGeography

根据调用的筛选器中的实例比较另一个地理实例。

返回

如果地理实例存在可能与另一个 SqlGeography 实例相交,则 true;否则,为 false

属性

适用于

Filter(DbGeometry, DbGeometry)

提供快速的、只索引交集方法来决定地理实例是否与其他 SqlGeometry 实例相交(假设索引可用)。

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ geometryOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> Nullable<bool>
Public Shared Function Filter (geometryValue As DbGeometry, geometryOther As DbGeometry) As Nullable(Of Boolean)

参数

geometryValue
DbGeometry

几何值。

geometryOther
DbGeometry

根据调用的筛选器中的实例比较另一个地理实例。

返回

如果地理实例存在可能与另一个 SqlGeography 实例相交,则 true;否则,为 false

属性

适用于