SpatialEdmFunctions.GeographyFromGml 方法

定義

創造一個 DbFunctionExpression ,喚起典型的「GeographyFromGml」函數。

多載

名稱 Description
GeographyFromGml(DbExpression)

建立 DbFunctionExpression 一個,呼叫標準的「GeographyFromGml」函式,並指定參數,且必須有字串結果型別。 該表達式的結果類型為 Edm.地理。

GeographyFromGml(DbExpression, DbExpression)

建立 DbFunctionExpression 一個,並呼叫典型的「GeographyFromGml」函式,並包含指定的參數。 geographyMarkup 必須有字串結果型別,而 coordinateSystemId 必須有整數數值結果型別。 該表達式的結果類型為 Edm.地理。

GeographyFromGml(DbExpression)

建立 DbFunctionExpression 一個,呼叫標準的「GeographyFromGml」函式,並指定參數,且必須有字串結果型別。 該表達式的結果類型為 Edm.地理。

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyFromGml(System::Data::Common::CommandTrees::DbExpression ^ geographyMarkup);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyFromGml(System.Data.Common.CommandTrees.DbExpression geographyMarkup);
static member GeographyFromGml : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromGml (geographyMarkup As DbExpression) As DbFunctionExpression

參數

geographyMarkup
DbExpression

一個表達式,提供地理標記語言(GML)表示地理值。

傳回

一個新的 DbFunctionExpression,根據指定值回傳一個新的地理值,並以底層提供者的預設座標系 ID(SRID)為基礎。

例外狀況

geographyMarkup

geographyMarkup

適用於

GeographyFromGml(DbExpression, DbExpression)

建立 DbFunctionExpression 一個,並呼叫典型的「GeographyFromGml」函式,並包含指定的參數。 geographyMarkup 必須有字串結果型別,而 coordinateSystemId 必須有整數數值結果型別。 該表達式的結果類型為 Edm.地理。

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeographyFromGml(System::Data::Common::CommandTrees::DbExpression ^ geographyMarkup, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeographyFromGml(System.Data.Common.CommandTrees.DbExpression geographyMarkup, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyFromGml : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeographyFromGml (geographyMarkup As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

參數

geographyMarkup
DbExpression

一個表達式,提供地理標記語言(GML)表示地理值。

coordinateSystemId
DbExpression

一個表達式,提供地理值座標系的座標系統 id(SRID)。

傳回

一個新的 DbFunctionExpression,根據指定的值回傳一個新的地理值。

例外狀況

geographyMarkup coordinateSystemId

geographyMarkup coordinateSystemId

適用於