SpatialEdmFunctions.GeographyCollectionFromText メソッド
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定された引数で正規の 'GeographyCollectionFromText' 関数を呼び出す DbFunctionExpression を作成します。 geographyCollectionWellKnownText の結果型は文字列型であり、coordinateSystemId の結果型は整数の数値型である必要があります。 式の結果型は Edm.Geography です。
名前空間: System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public Shared Function GeographyCollectionFromText ( _
geographyCollectionWellKnownText As DbExpression, _
coordinateSystemId As DbExpression _
) As DbFunctionExpression
'使用
Dim geographyCollectionWellKnownText As DbExpression
Dim coordinateSystemId As DbExpression
Dim returnValue As DbFunctionExpression
returnValue = SpatialEdmFunctions.GeographyCollectionFromText(geographyCollectionWellKnownText, _
coordinateSystemId)
public static DbFunctionExpression GeographyCollectionFromText(
DbExpression geographyCollectionWellKnownText,
DbExpression coordinateSystemId
)
public:
static DbFunctionExpression^ GeographyCollectionFromText(
DbExpression^ geographyCollectionWellKnownText,
DbExpression^ coordinateSystemId
)
static member GeographyCollectionFromText :
geographyCollectionWellKnownText:DbExpression *
coordinateSystemId:DbExpression -> DbFunctionExpression
public static function GeographyCollectionFromText(
geographyCollectionWellKnownText : DbExpression,
coordinateSystemId : DbExpression
) : DbFunctionExpression
パラメーター
- geographyCollectionWellKnownText
型 : System.Data.Entity.Core.Common.CommandTrees.DbExpression
地理のコレクション値の既知のテキスト表現を提供する式。
- coordinateSystemId
型 : System.Data.Entity.Core.Common.CommandTrees.DbExpression
地理のコレクション値の座標系の座標系 ID (SRID) を提供する式。
戻り値
型 : System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
指定された値に基づいて新しい地理のコレクション値を返す新しい DbFunctionExpression。
参照
参照
System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial 名前空間