SpatialEdmFunctions.Area(DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 DbFunctionExpression 具有指定参数的规范“Area”函数,该函数必须具有 Edm.Geography 或 Edm.Geometry 结果类型。 表达式的结果类型为 Edm.Double。
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Area(this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member Area : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Area (spatialValue As DbExpression) As DbFunctionExpression
参数
- spatialValue
- DbExpression
一个表达式,指定应为其计算区域的空间图面值。
返回
一个新的 DbFunctionExpression,如果 spatialValue 不是图面,则返回 spatialValue 的区域或 null。