DbExpression.FromGeography Method (DbGeography)

 

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

Namespace:   System.Data.Entity.Core.Common.CommandTrees
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbExpression FromGeography(
	DbGeography value
)

Parameters

value
Type: System.Data.Entity.Spatial.DbGeography

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

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbExpression

A DbExpression that represents the specified DbGeography value.