DbExpression.FromGeometry(DbGeometry) Method   
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.DbExpressionPublic Shared Function FromGeometry (value As DbGeometry) As DbExpressionParameters
- value
- DbGeometry
The DbGeometry value on which the returned expression should be based.
Returns
A DbExpression that represents the specified DbGeometry value.