语言

SpatialEdmFunctions.CoordinateSystemId(DbExpression) 方法

定义

创建一个 DbFunctionExpression 调用规范“CoordinateSystemId”函数的指定参数,该函数必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 表达式的结果类型为 Edm.Int32。

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

参数

spatialValue
DbExpression

一个表达式,指定应从中检索坐标系 ID(SRID)的值。

返回

一个新的 DbFunctionExpression,从 spatialValue 返回整数 SRID 值。

适用于