Language

SpatialEdmFunctions.SpatialLength(DbExpression) メソッド

定義

指定した引数を使用して正規の 'SpatialLength' 関数を呼び出す DbFunctionExpression を作成します。Edm.Geography または Edm.Geometry の結果型が必要です。 式の結果の型は Edm.Double です。

public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression SpatialLength(this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member SpatialLength : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialLength (spatialValue As DbExpression) As DbFunctionExpression

パラメーター

spatialValue
DbExpression

長さを取得する空間曲線の値を指定する式。

戻り値

spatialValue の長さまたは spatialValue が曲線でない場合は null を返す新しい DbFunctionExpression。

適用対象