SpatialEdmFunctions.IsValidGeometry Method (DbExpression)
Creates a DbFunctionExpression that invokes the canonical 'IsValidGeometry' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is Edm.Boolean.
Assembly: EntityFramework (in EntityFramework.dll)
Parameters
- geometryValue
-
Type:
System.Data.Entity.Core.Common.CommandTrees.DbExpression
An expression that specifies the geometry value which should be tested for spatial validity.
Return Value
Type: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpressionA new DbFunctionExpression that returns a Boolean value indicating whether geometryValue is valid.