語言

SpatialEdmFunctions.GeometryFromText 方法

定義

多載

名稱 Description
GeometryFromText(DbExpression)

建立 DbFunctionExpression 一個,喚用指定參數的典型「GeometryFromText」函式,且必須有字串結果型別。 表達式的結果類型為Edm.Geometry。 其值為底層提供者的預設座標系統 ID(SRID)。

GeometryFromText(DbExpression, DbExpression)

建立 DbFunctionExpression 一個,並以指定的參數呼叫典型的「GeometryFromText」函式。 wellKnownText 必須有字串結果類型,而 coordinateSystemId 必須有整數數字結果類型。 表達式的結果類型為Edm.Geometry。

GeometryFromText(DbExpression)

建立 DbFunctionExpression 一個,喚用指定參數的典型「GeometryFromText」函式,且必須有字串結果型別。 表達式的結果類型為Edm.Geometry。 其值為底層提供者的預設座標系統 ID(SRID)。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeometryFromText(System.Data.Entity.Core.Common.CommandTrees.DbExpression wellKnownText);
static member GeometryFromText : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeometryFromText (wellKnownText As DbExpression) As DbFunctionExpression

參數

wellKnownText
DbExpression

一個表達式,提供眾所周知的幾何值文字表示。

傳回

一個新的 DbFunctionExpression,根據指定的值回傳新的幾何值。

適用於

GeometryFromText(DbExpression, DbExpression)

建立 DbFunctionExpression 一個,並以指定的參數呼叫典型的「GeometryFromText」函式。 wellKnownText 必須有字串結果類型,而 coordinateSystemId 必須有整數數字結果類型。 表達式的結果類型為Edm.Geometry。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression GeometryFromText(System.Data.Entity.Core.Common.CommandTrees.DbExpression wellKnownText, System.Data.Entity.Core.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryFromText : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Public Function GeometryFromText (wellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

參數

wellKnownText
DbExpression

一個表達式,提供眾所周知的幾何值文字表示。

coordinateSystemId
DbExpression

一個表示式,提供幾何值座標系的座標系 ID(SRID)。

傳回

一個新的 DbFunctionExpression,根據指定的值回傳新的幾何值。

適用於