DbExpression.FromGeometry(DbGeometry) Method

Definition

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

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