SpatialEdmFunctions.Latitude(DbExpression) 方法

定义

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

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

参数

geographyValue
DbExpression

一个表达式,指定应从中检索纬度值的地理点值。

返回

一个新的 DbFunctionExpression,它返回纬度值geographyValuenullgeographyValue不是点。

例外

geographyValue

geographyValue

适用于