共用方式為


DbSpatialServices 類別

定義

表示地理空間 (幾何/地理) 型別支援的與提供者無關的服務應用程式開發介面。

public ref class DbSpatialServices abstract
[System.Serializable]
public abstract class DbSpatialServices
[<System.Serializable>]
type DbSpatialServices = class
Public MustInherit Class DbSpatialServices
繼承
DbSpatialServices
屬性

建構函式

DbSpatialServices()

初始化 DbSpatialServices 類別的新執行個體。

屬性

Default

取得 DbSpatialServices 的預設服務。

方法

AsBinary(DbGeography)

取得所指 DbGeography 值的已知二進位表示。

AsBinary(DbGeometry)

取得所指 DbGeometry 值的已知二進位表示。

AsGml(DbGeography)

產生這個 DbGeography 值的地理標記語言 (GML) 表示。

AsGml(DbGeometry)

產生這個 DbGeometry 值的地理標記語言 (GML) 表示。

AsText(DbGeography)

取得所指 DbGeography 值的已知文字表示。 這個值應該只包含點的經度和緯度。

AsText(DbGeometry)

取得所指 DbGeometry 值的已知文字表示,僅包括點的 X 和 Y 座標。

AsTextIncludingElevationAndMeasure(DbGeography)

傳回含有高度及量值之 DbSpatialServices 的文字表示。

AsTextIncludingElevationAndMeasure(DbGeometry)

傳回含有高度及量值之 DbSpatialServices 的文字表示。

Buffer(DbGeography, Double)

建立表示所有與指定 DbGeography 值相距小於或等於 distance 之點的地理值。

Buffer(DbGeometry, Double)

建立表示所有與指定 DbGeometry 值相距小於或等於 distance 之點的幾何值。

Contains(DbGeometry, DbGeometry)

判斷一個 DbGeometry 值是否在空間上包含其他幾何。

CreateGeography(DbSpatialServices, Object)

這個方法的目的是在適當驗證指定的提供者值之後,供 GeographyFromProviderValue(Object) 的衍生實作使用,以確保它適合與衍生實作搭配使用。

CreateGeometry(DbSpatialServices, Object)

這個方法的目的是在適當驗證指定的提供者值之後,供 GeometryFromProviderValue(Object) 的衍生實作使用,以確保它適合與衍生實作搭配使用。

CreateProviderValue(DbGeographyWellKnownValue)

根據指定的已知 DbGeography 表示,建立與此空間服務實作的提供者特定值。

CreateProviderValue(DbGeometryWellKnownValue)

根據指定的已知 DbGeometry 表示,建立與此空間服務實作的提供者特定值。

CreateWellKnownValue(DbGeography)

建立 DbGeographyWellKnownValue 的執行個體,這個執行個體使用一或兩種標準的已知空間格式表示指定的 DbGeography 值。

CreateWellKnownValue(DbGeometry)

建立 DbGeometryWellKnownValue 的執行個體,這個執行個體使用一或兩種標準的已知空間格式表示指定的 DbGeometry 值。

Crosses(DbGeometry, DbGeometry)

判斷兩個指定的 DbGeometry 值是否在空間上交叉。

Difference(DbGeography, DbGeography)

計算兩個 DbGeography 值之間的差異。

Difference(DbGeometry, DbGeometry)

計算兩個 DbGeometry 值之間的差異。

Disjoint(DbGeography, DbGeography)

判斷兩個指定的 DbGeography 值是否在空間上不相交。

Disjoint(DbGeometry, DbGeometry)

判斷兩個指定的 DbGeometry 值是否在空間上不相交。

Distance(DbGeography, DbGeography)

計算兩個 DbGeography 值中最接近點之間的距離。

Distance(DbGeometry, DbGeometry)

計算兩個 DbGeometry 值中最接近點之間的距離。

ElementAt(DbGeography, Int32)

傳回指定 DbGeography 值的項目,若此值代表地理集合。

ElementAt(DbGeometry, Int32)

傳回指定 DbGeometry 值的項目,若此值代表幾何集合。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GeographyCollectionFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeography 集合值。

GeographyCollectionFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeography 集合值。

GeographyFromBinary(Byte[])

根據指定的已知二進位值,建立新的 DbGeography 值。

GeographyFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeography 值。

GeographyFromGml(String)

根據指定的地理標記語言 (GML) 值,建立新的 DbGeography 值。

GeographyFromGml(String, Int32)

根據指定的地理標記語言 (GML) 值和座標系統識別項 (SRID),建立新的 DbGeography 值。

GeographyFromProviderValue(Object)

根據與此空間服務實作的提供者特定值,建立新的 DbGeography 值。

GeographyFromText(String)

根據指定的已知文字值,建立新的 DbGeography 值。

GeographyFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeography 值。

GeographyLineFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeography 線值。

GeographyLineFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeography 線值。

GeographyMultiLineFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項,建立新的 DbGeography 多行值。

GeographyMultiLineFromText(String, Int32)

根據指定的已知文字值和座標系統識別項,建立新的 DbGeography 多行值。

GeographyMultiPointFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項,建立新的 DbGeography Multipoint 值。

GeographyMultiPointFromText(String, Int32)

根據指定的已知文字值和座標系統識別項,建立新的 DbGeography Multipoint 值。

GeographyMultiPolygonFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項,建立新的 DbGeography 多多邊形值。

GeographyMultiPolygonFromText(String, Int32)

根據所指定已知文字值與座標系統識別項,建立新的 DbGeography 多多邊形值。

GeographyPointFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeography 點值。

GeographyPointFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeography 點值。

GeographyPolygonFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeography 多邊形值。

GeographyPolygonFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeography 多邊形值。

GeometryCollectionFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeometry 集合值。

GeometryCollectionFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeometry 集合值。

GeometryFromBinary(Byte[])

根據指定的已知二進位值,建立新的 DbGeometry 值。

GeometryFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeometry 值。

GeometryFromGml(String)

根據指定的地理標記語言 (GML) 值,建立新的 DbGeometry 值。

GeometryFromGml(String, Int32)

根據指定的地理標記語言 (GML) 值和座標系統識別項 (SRID),建立新的 DbGeometry 值。

GeometryFromProviderValue(Object)

根據與此空間服務實作的提供者特定值,建立新的 DbGeometry 值。

GeometryFromText(String)

根據指定的已知文字值,建立新的 DbGeometry 值。

GeometryFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeometry 值。

GeometryLineFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeometry 線值。

GeometryLineFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeometry 線值。

GeometryMultiLineFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項,建立新的 DbGeometry 多行值。

GeometryMultiLineFromText(String, Int32)

根據指定的已知文字值和座標系統識別項,建立新的 DbGeometry 多行值。

GeometryMultiPointFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項,建立新的 DbGeometry Multipoint 值。

GeometryMultiPointFromText(String, Int32)

根據指定的已知文字值和座標系統識別項,建立新的 DbGeometry Multipoint 值。

GeometryMultiPolygonFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項,建立新的 DbGeometry 多多邊形值。

GeometryMultiPolygonFromText(String, Int32)

根據所指定已知文字值與座標系統識別項,建立新的 DbGeometry 多多邊形值。

GeometryPointFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeometry 點值。

GeometryPointFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeometry 點值。

GeometryPolygonFromBinary(Byte[], Int32)

根據指定的已知二進位值和座標系統識別項 (SRID),建立新的 DbGeometry 多邊形值。

GeometryPolygonFromText(String, Int32)

根據指定的已知文字值和座標系統識別項 (SRID),建立新的 DbGeometry 多邊形值。

GetArea(DbGeography)

傳回可為 null 的雙精度浮點數值,指出指定的 DbGeography 值的範圍,如果值不能代表介面,就可能為 null。

GetArea(DbGeometry)

傳回可為 null 的雙精度浮點數值,指出指定的 DbGeometry 值的範圍,如果值不能代表介面,就可能為 null。

GetBoundary(DbGeometry)

傳回可為 Null 的雙精度浮點數值,表示所指定DbGeography值的界限。

GetCentroid(DbGeometry)

傳回DbGeometry 值,此值代表指定 DbGeometry 值的中心點,如果該值不代表曲面,則可能為 null。

GetConvexHull(DbGeometry)

傳回可為 Null 的雙精度浮點數值,表示所指定DbGeography值的凸面。

GetCoordinateSystemId(DbGeography)

傳回指定之 DbGeography 值的座標系統識別項。

GetCoordinateSystemId(DbGeometry)

傳回指定之 DbGeometry 值的座標系統識別項。

GetDimension(DbGeography)

取得給定 DbGeography 值的維度,如果值是集合,則為其最大項目的維度。

GetDimension(DbGeometry)

取得給定 DbGeometry 值的維度,如果值是集合,則為其最大項目的維度。

GetElementCount(DbGeography)

傳回指定 DbGeography 值中的項目數量,若此值代表地理集合。

GetElementCount(DbGeometry)

傳回指定 DbGeometry 值中的項目數量,若此值代表幾何集合。

GetElevation(DbGeography)

傳回指定 DbGeography 值的提高 (Z 座標),如果它代表一個點。

GetElevation(DbGeometry)

傳回指定 DbGeometry 值的提高 (Z),如果它代表一個點。

GetEndPoint(DbGeography)

傳回DbGeography 值,此值代表指定 DbGeography 值的終點,如果該值不代表曲線,則可能為 null。

GetEndPoint(DbGeometry)

傳回DbGeometry 值,此值代表指定 DbGeometry 值的終點,如果該值不代表曲線,則可能為 null。

GetEnvelope(DbGeometry)

取得指定之 DbGeometry 值的信封 (最小的周框方塊),為幾何值。

GetExteriorRing(DbGeometry)

傳回DbGeometry 值,此值代表指定 DbGeometry 值的外環,如果該值不代表多邊形,則可能為 null。

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetInteriorRingCount(DbGeometry)

傳回指定 DbGeometry 值中的內環數目,如果它代表多邊形。

GetIsClosed(DbGeography)

傳回可為 null 的布林值,指出指定的 DbGeography 值是否會關閉,如果值不能代表曲線,就可能為 null。

GetIsClosed(DbGeometry)

傳回可為 null 的布林值,指出指定的 DbGeometry 值是否會關閉,如果值不能代表曲線,就可能為 null。

GetIsEmpty(DbGeography)

傳回可為 Null 的布林值,指出指定的 DbGeography 值是否是空的。

GetIsEmpty(DbGeometry)

傳回可為 Null 的布林值,指出指定的 DbGeometry 值是否是空的。

GetIsRing(DbGeometry)

傳回可為 null 的布林值,指出指定的 DbGeometry 值是否為字串,如果值不能代表曲線,就可能為 null。

GetIsSimple(DbGeometry)

傳回可為 null 的布林值,指出指定的 DbGeometry 值是否為簡單實值。

GetIsValid(DbGeometry)

傳回可為 null 的布林值,指出指定的 DbGeometry 值是否有效的。

GetLatitude(DbGeography)

傳回指定的 DbGeography 值的緯度座標,如果它代表一個點。

GetLength(DbGeography)

傳回可為 null 的雙精度浮點數值,指出指定的 DbGeography 值的長度,如果值不能代表曲線,就可能為 null。

GetLength(DbGeometry)

傳回可為 null 的雙精度浮點數值,指出指定的 DbGeometry 值的長度,如果值不能代表曲線,就可能為 null。

GetLongitude(DbGeography)

傳回指定的 DbGeography 值的經度座標,如果它代表一個點。

GetMeasure(DbGeography)

傳回指定的 DbGeography 值的 M (量值) 座標,如果它代表一個點。

GetMeasure(DbGeometry)

傳回指定的 DbGeometry 值的 M (量值) 座標,如果它代表一個點。

GetPointCount(DbGeography)

如果它代表 linestring 或線性環,則以指定的 DbGeography 值傳回資料點數目。

GetPointCount(DbGeometry)

如果它代表 linestring 或線性環,則以指定的 DbGeometry 值傳回資料點數目。

GetPointOnSurface(DbGeometry)

傳回DbGeometry 值,此值代表指定 DbGeometry 值的曲面上的一點,如果該值不代表曲面,則可能為 null。

GetSpatialTypeName(DbGeography)

傳回可指出 DbGeography 指定值之空間型別名稱的值。

GetSpatialTypeName(DbGeometry)

傳回可指出 DbGeometry 指定值之空間型別名稱的值。

GetStartPoint(DbGeography)

傳回DbGeography 值,此值代表指定 DbGeography 值的起點,如果該值不代表曲線,則可能為 null。

GetStartPoint(DbGeometry)

傳回DbGeometry 值,此值代表指定 DbGeometry 值的起點,如果該值不代表曲線,則可能為 null。

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
GetXCoordinate(DbGeometry)

傳回指定的 DbGeometry 值的 X 座標,如果它代表一個點。

GetYCoordinate(DbGeometry)

傳回指定的 DbGeometry 值的 Y 座標,如果它代表一個點。

InteriorRingAt(DbGeometry, Int32)

從指定的 DbGeometry 值傳回內環,若此值代表多邊形。

Intersection(DbGeography, DbGeography)

計算兩個 DbGeography 值的交集。

Intersection(DbGeometry, DbGeometry)

計算兩個 DbGeometry 值的交集。

Intersects(DbGeography, DbGeography)

判斷兩個給定的 DbGeography 值是否為空間相交的值。

Intersects(DbGeometry, DbGeometry)

判斷兩個給定的 DbGeometry 值是否為空間相交的值。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
Overlaps(DbGeometry, DbGeometry)

判斷兩個指定的 DbGeometry 值是否在空間上重疊。

PointAt(DbGeography, Int32)

傳回指定的 DbGeography 值的點項目,如果它代表 linestring 或線型圓圈。

PointAt(DbGeometry, Int32)

傳回指定的 DbGeometry 值的點項目,如果它代表 linestring 或線型圓圈。

Relate(DbGeometry, DbGeometry, String)

依據指定的維度延伸九交模型 (DE-9IM) 交集模式,判斷兩個指定的 DbGeometry 值是否在空間上有關聯。

SpatialEquals(DbGeography, DbGeography)

判斷兩個指定的 DbGeography 值是否在空間上相等。

SpatialEquals(DbGeometry, DbGeometry)

判斷兩個指定的 DbGeometry 值是否在空間上相等。

SymmetricDifference(DbGeography, DbGeography)

計算兩個 DbGeography 值的對稱差異。

SymmetricDifference(DbGeometry, DbGeometry)

計算兩個 DbGeometry 值之間的對稱差異。

ToString()

傳回代表目前物件的字串。

(繼承來源 Object)
Touches(DbGeometry, DbGeometry)

判斷兩個指定的 DbGeometry 值是否在空間上相接觸。

Union(DbGeography, DbGeography)

計算兩個 DbGeography 值之間的聯集。

Union(DbGeometry, DbGeometry)

計算兩個 DbGeometry 值之間的聯集。

Within(DbGeometry, DbGeometry)

判斷一個 DbGeometry 值是否在空間上位於其他幾何之內。

適用於