SpatialEdmFunctions.StartPoint(DbExpression) 方法

定义

创建一个 DbFunctionExpression 调用规范“StartPoint”函数的指定参数,该函数必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 结果类型与结果 spatialValue类型相同。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ StartPoint(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression StartPoint(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member StartPoint : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function StartPoint (spatialValue As DbExpression) As DbFunctionExpression

参数

spatialValue
DbExpression

一个表达式,指定应从中检索起点的空间曲线值。

返回

一个新的 DbFunctionExpression,它返回起点 spatialValuenull 不是 spatialValue 曲线。

例外

spatialValue

spatialValue

适用于