DbExpression.FromGeography(DbGeography) 方法

定义

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

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

参数

value
DbGeography

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

返回

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

适用于