SpatialEdmFunctions.GeographyMultiLineFromText メソッド
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定された引数で正規の 'GeographyMultiLineFromText' 関数を呼び出す DbFunctionExpression を作成します。 multiLineWellKnownText の結果型は文字列型であり、coordinateSystemId の結果型は整数の数値型である必要があります。 式の結果型は Edm.Geography です。
名前空間: System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiLine", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiLine", _
Justification := "Match OGC, EDM")> _
Public Shared Function GeographyMultiLineFromText ( _
multiLineWellKnownText As DbExpression, _
coordinateSystemId As DbExpression _
) As DbFunctionExpression
'使用
Dim multiLineWellKnownText As DbExpression
Dim coordinateSystemId As DbExpression
Dim returnValue As DbFunctionExpression
returnValue = SpatialEdmFunctions.GeographyMultiLineFromText(multiLineWellKnownText, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine",
Justification = "Match OGC, EDM")]
public static DbFunctionExpression GeographyMultiLineFromText(
DbExpression multiLineWellKnownText,
DbExpression coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"MultiLine",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiLine",
Justification = L"Match OGC, EDM")]
public:
static DbFunctionExpression^ GeographyMultiLineFromText(
DbExpression^ multiLineWellKnownText,
DbExpression^ coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine",
Justification = "Match OGC, EDM")>]
static member GeographyMultiLineFromText :
multiLineWellKnownText:DbExpression *
coordinateSystemId:DbExpression -> DbFunctionExpression
public static function GeographyMultiLineFromText(
multiLineWellKnownText : DbExpression,
coordinateSystemId : DbExpression
) : DbFunctionExpression
パラメーター
- multiLineWellKnownText
型 : 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 名前空間