SpatialEdmFunctions.SpatialEnvelope(DbExpression) 方法

定义

创建一个 DbFunctionExpression,它使用指定的参数(该参数必须具有 Edm.Geometry 结果类型)调用规范 'SpatialEnvelope' 函数。Creates a DbFunctionExpression that invokes the canonical 'SpatialEnvelope' function with the specified argument, which must have an Edm.Geometry result type. 表达式的结果类型为 Edm.Geometry。The result type of the expression is Edm.Geometry.

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

参数

geometryValue
DbExpression

一个表达式,指定一个数值,应通过该值检索 Envelope 值。An expression that specifies the value from which the Envelope value should be retrieved.

返回

DbFunctionExpression

一个新的 DbFunctionExpression,它返回 geometryValue 的最小范围框。A new DbFunctionExpression that returns the minimum bounding box for geometryValue.

例外

geometryValue

geometryValue

适用于