次の方法で共有


SpatialEdmFunctions.GeographyPolygonFromText メソッド

定義

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

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

パラメーター

polygonWellKnownText
DbExpression

地理の多角形値の既知のテキスト表現を提供する式。

coordinateSystemId
DbExpression

地理の多角形値の座標系の座標系 ID (SRID) を提供する式。

戻り値

指定された値に基づいて新しい地理のポリゴン値を返す新しい DbFunctionExpression。

適用対象