SqlSpatialFunctions.Filter 方法

定义

重载

Filter(DbGeography, DbGeography)

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

Filter(DbGeometry, DbGeometry)

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

Filter(DbGeography, DbGeography)

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

[System.Data.Entity.DbFunction("SqlServer", "FILTER")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyOther")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyValue")]
public static Nullable<bool> Filter (System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography geographyOther);
static member Filter : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> Nullable<bool>
Public Shared Function Filter (geographyValue As DbGeography, geographyOther As DbGeography) As Nullable(Of Boolean)

参数

geographyValue
DbGeography

地理值。

geographyOther
DbGeography

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

返回

如果 geography 实例可能与另一个 SqlGeography 实例相交,则其值为 True;否则为 false。

属性

适用于

Filter(DbGeometry, DbGeometry)

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

[System.Data.Entity.DbFunction("SqlServer", "FILTER")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geometryValue")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geometryOther")]
public static Nullable<bool> Filter (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry geometryOther);
static member Filter : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> Nullable<bool>
Public Shared Function Filter (geometryValue As DbGeometry, geometryOther As DbGeometry) As Nullable(Of Boolean)

参数

geometryValue
DbGeometry

几何值。

geometryOther
DbGeometry

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

返回

如果 geography 实例可能与另一个 SqlGeography 实例相交,则其值为 True;否则为 false。

属性

适用于