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