Share via


DbExpression.FromGeography(DbGeography) Method

Definition

Creates a DbExpression that represents the specified DbGeography value, which may be 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

Parameters

value
DbGeography

The DbGeography value on which the returned expression should be based.

Returns

A DbExpression that represents the specified DbGeography value.

Applies to