次の方法で共有


SpatialEdmFunctions.GeometryFromGml メソッド (DbExpression, DbExpression)

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

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

名前空間:  System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Gml",  _
    Justification := "Abbreviation more meaningful than what it stands for")> _
Public Shared Function GeometryFromGml ( _
    geometryMarkup As DbExpression, _
    coordinateSystemId As DbExpression _
) As DbFunctionExpression
'使用
Dim geometryMarkup As DbExpression 
Dim coordinateSystemId As DbExpression 
Dim returnValue As DbFunctionExpression 

returnValue = SpatialEdmFunctions.GeometryFromGml(geometryMarkup, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml", 
    Justification = "Abbreviation more meaningful than what it stands for")]
public static DbFunctionExpression GeometryFromGml(
    DbExpression geometryMarkup,
    DbExpression coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Gml", 
    Justification = L"Abbreviation more meaningful than what it stands for")]
public:
static DbFunctionExpression^ GeometryFromGml(
    DbExpression^ geometryMarkup, 
    DbExpression^ coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml", 
    Justification = "Abbreviation more meaningful than what it stands for")>]
static member GeometryFromGml : 
        geometryMarkup:DbExpression * 
        coordinateSystemId:DbExpression -> DbFunctionExpression
public static function GeometryFromGml(
    geometryMarkup : DbExpression, 
    coordinateSystemId : DbExpression
) : DbFunctionExpression

パラメーター

戻り値

型 : System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
指定された値に基づいて新しい geometry 値を返す新しい DbFunctionExpression。

参照

参照

SpatialEdmFunctions クラス

GeometryFromGml オーバーロード

System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial 名前空間