Sdílet prostřednictvím


SqlSpatialFunctions.Filter Metoda

Definice

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.

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.

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ geographyOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeography * System.Data.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

truepokud geografická instance potenciálně protíná jinou instanci SqlGeography; v opačném případě . false

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.

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ geometryOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter(System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeometry * System.Data.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

truepokud geografická instance potenciálně protíná jinou instanci SqlGeography; v opačném případě . false

Atributy

Platí pro