SqlSpatialFunctions.Filter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
[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)
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
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.
[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)
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