语言

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

要与调用筛选器的实例进行比较的另一个地理实例。

返回

如此 如果地理实例可能与另一个 SqlGeography 实例相交,否则为 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

要与调用筛选器的实例进行比较的另一个地理实例。

返回

如此 如果地理实例可能与另一个 SqlGeography 实例相交,否则为 false。

特性

适用于