SpatialEdmFunctions.YCoordinate(DbExpression) 方法

定义

创建一个 DbFunctionExpression,它使用指定的参数(该参数必须具有 Edm.Geometry 结果类型)调用规范 'YCoordinate' 函数。 该表达式的结果类型为 Edm.Double。

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

参数

geometryValue
DbExpression

一个表达式,从应检索的 Y 坐标值中指定几何图形点值。

返回

一个新的 DbFunctionExpression,返回 geometryValue 的 Y 坐标值;如果 geometryValue 不是点,则返回 null。

适用于