共用方式為


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

適用於