DbExpression.FromGeography(DbGeography) Method

Definition

Creates a DbExpression that represents the specified DbGeography value, which may be null.

public:
 static System::Data::Common::CommandTrees::DbExpression ^ FromGeography(System::Data::Spatial::DbGeography ^ value);
public static System.Data.Common.CommandTrees.DbExpression FromGeography (System.Data.Spatial.DbGeography value);
static member FromGeography : System.Data.Spatial.DbGeography -> System.Data.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