Sdílet prostřednictvím


SqlSpatialFunctions.Filter Metoda

Definice

Přetížení

Filter(DbGeography, DbGeography)

Nabízí rychlou metodu průniku pouze indexu, která určuje, jestli geografická instance protíná jinou instanci SqlGeography za předpokladu, že je index k dispozici.

Filter(DbGeometry, DbGeometry)

Nabízí rychlou metodu průniku pouze indexu, která určuje, jestli instance geografie protíná jinou instanci SqlGeometry, za předpokladu, že je k dispozici index.

Filter(DbGeography, DbGeography)

Nabízí rychlou metodu průniku pouze indexu, která určuje, jestli geografická instance protíná jinou instanci SqlGeography za předpokladu, že je index k dispozici.

[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)

Parametry

geographyValue
DbGeography

Zeměpisná hodnota.

geographyOther
DbGeography

Další geografická instance pro porovnání s instancí, na které je vyvolán filtr.

Návraty

True, pokud geografická instance potenciálně protíná jinou instanci SqlGeography; jinak nepravda.

Atributy

Platí pro

Filter(DbGeometry, DbGeometry)

Nabízí rychlou metodu průniku pouze indexu, která určuje, jestli instance geografie protíná jinou instanci SqlGeometry, za předpokladu, že je k dispozici index.

[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)

Parametry

geometryValue
DbGeometry

Hodnota geometrie.

geometryOther
DbGeometry

Další geografická instance pro porovnání s instancí, na které je vyvolán filtr.

Návraty

True, pokud geografická instance potenciálně protíná jinou instanci SqlGeography; jinak nepravda.

Atributy

Platí pro