SpatialEdmFunctions.InteriorRingAt(DbExpression, 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 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry.
public static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression InteriorRingAt (this System.Data.Entity.Core.Common.CommandTrees.DbExpression geometryValue, System.Data.Entity.Core.Common.CommandTrees.DbExpression indexValue);
static member InteriorRingAt : System.Data.Entity.Core.Common.CommandTrees.DbExpression * System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function InteriorRingAt (geometryValue As DbExpression, indexValue As DbExpression) As DbFunctionExpression
Parameters
- geometryValue
- DbExpression
The geometry value.
- indexValue
- DbExpression
An expression that specifies the position of the interior ring to be retrieved from within the polygon.
Returns
A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon.
Applies to
Entity Framework