SpatialEdmFunctions.PointAt(DbExpression, DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 DbFunctionExpression,它使用指定的参数调用规范形式的 'PointAt' 函数。 第一个参数必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 第二个参数必须具有整数数值结果类型。 表达式的结果类型与 spatialValue 的结果类型相同。
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression PointAt (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue, System.Data.Entity.Core.Common.CommandTrees.DbExpression indexValue);
static member PointAt : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function PointAt (spatialValue As DbExpression, indexValue As DbExpression) As DbFunctionExpression
参数
- spatialValue
- DbExpression
一个表达式,指定空间行字符串的值。
- indexValue
- DbExpression
一个表达式,在行字符串中指定要检索的点的位置。
返回
一个新的 DbFunctionExpression,返回 spatialValue 中位置 indexValue 处的点;如果 spatialValue 不是行字符串,则返回 null。