DbExpression.FromGeometry(DbGeometry) 方法

定义

创建一个 DbExpression,表示指定的 DbGeometry 值,可以为 null。

public static System.Data.Entity.Core.Common.CommandTrees.DbExpression FromGeometry (System.Data.Entity.Spatial.DbGeometry value);
static member FromGeometry : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public Shared Function FromGeometry (value As DbGeometry) As DbExpression

参数

value
DbGeometry

返回的表达式应基于 DbGeometry 值。

返回

一个 DbExpression,表示指定的 DbGeometry 值。

适用于