Share via


SpatialEdmFunctions.EndPoint(DbExpression) 方法

定义

创建 DbFunctionExpression,它使用指定参数(该参数必须具有 Edm.Geography 或 Edm.Geometry 结果类型)调用规范 'EndPoint' 函数。 该结果类型与 spatialValue 的结果类型相同。

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

参数

spatialValue
DbExpression

一个表达式,指定空间曲线数值(应通过该值检索终结点)。

返回

一个新的 DbFunctionExpression,它返回 spatialValue 的终点或返回 null(如果 spatialValue 不是曲线)。

例外

spatialValue

spatialValue

适用于