語言

DbExpression.FromGeometry(DbGeometry) 方法

定義

建立 DbExpression 一個代表指定 DbGeometry 值的 ,該值可能是空值。

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 值。

適用於