SpatialEdmFunctions.GeographyPolygonFromText メソッド

定義

指定した引数を使用して正規の 'GeographyPolygonFromText' 関数を呼び出す DbFunctionExpression を作成します。 polygonWellKnownText には文字列の結果型が必要ですが、 coordinateSystemId には整数の数値結果型が必要です。 式の結果の型は Edm.Geography です。

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

パラメーター

polygonWellKnownText
DbExpression

地理ポリゴン値の既知のテキスト表現を提供する式。

coordinateSystemId
DbExpression

geography ポリゴン値の座標系の座標系 ID (SRID) を提供する式。

返品

指定した値に基づいて新しい geography ポリゴン値を返す新しい DbFunctionExpression。

例外

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

適用対象