語言

SpatialEdmFunctions.GeographyMultiLineFromText 方法

定義

建立 DbFunctionExpression 一個,能呼叫典型的「GeographyMultiLineFromText」函數,並包含指定的參數。 multiLineWellKnownText 必須有字串結果型別,而 coordinateSystemId 必須有整數數值結果型別。 該表達式的結果類型為 Edm.地理。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Match OGC, EDM", MessageId="multi")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Justification="Match OGC, EDM", MessageId="MultiLine")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", Justification="Match OGC, EDM", MessageId="multiLine")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Match OGC, EDM", MessageId="Multi")]
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeographyMultiLineFromText(System.Data.Entity.Core.Common.CommandTrees.DbExpression multiLineWellKnownText, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeographyMultiLineFromText : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeographyMultiLineFromText (multiLineWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

參數

multiLineWellKnownText
DbExpression

一個表達式,提供地理多行值的知名文字表示。

coordinateSystemId
DbExpression

一個表達式,提供地理多線值座標系的座標系 ID(SRID)。

傳回

一個新的 DbFunctionExpression,根據指定的值回傳一個新的地理多行值。

屬性

適用於