SpatialEdmFunctions.PointOnSurface(DbExpression) 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 DbFunctionExpression that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Geometry.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression PointOnSurface (this System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue);
static member PointOnSurface : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function PointOnSurface (geometryValue As DbExpression) As DbFunctionExpression
Parameters
- geometryValue
- DbExpression
An expression that specifies the geometry surface value from which the point should be retrieved.
Returns
A new DbFunctionExpression that returns either a point guaranteed to be on the surface geometryValue or null if geometryValue is not a surface.
Applies to
Entity Framework