Share via


DbExpression.FromGeometry(DbGeometry) Method

Definition

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

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

Parameters

value
DbGeometry

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

Returns

A DbExpression that represents the specified DbGeometry value.

Applies to