DbExpression.FromGeometry Method (DbGeometry)

 

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

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

public static DbExpression FromGeometry(
	DbGeometry value
)

Parameters

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

The DbGeometry 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 DbGeometry value.