อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


SqlSpatialFunctions.Filter Method

Definition

Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.

Overloads

Filter(DbGeography, DbGeography)

Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.

Filter(DbGeometry, DbGeometry)

Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available.

Filter(DbGeography, DbGeography)

Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeography instance, assuming an index is available.

C#
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther);

Parameters

geographyValue
DbGeography

The geography value.

geographyOther
DbGeography

Another geography instance to compare against the instance on which Filter is invoked.

Returns

true if a geography instance potentially intersects another SqlGeography instance; otherwise, false.

Attributes

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Filter(DbGeometry, DbGeometry)

Offers a fast, index-only intersection method to determine if a geography instance intersects another SqlGeometry instance, assuming an index is available.

C#
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther);

Parameters

geometryValue
DbGeometry

The geometry value.

geometryOther
DbGeometry

Another geography instance to compare against the instance on which Filter is invoked.

Returns

true if a geography instance potentially intersects another SqlGeography instance; otherwise, false.

Attributes

Applies to

.NET Framework 4.8.1 และรุ่นอื่นๆ
ผลิตภัณฑ์ เวอร์ชัน
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1