SqlSpatialServices.GetPointCount Method
Returns the number of points in the given value.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | GetPointCount(DbGeography) | Returns the number of points in the given DbGeography value, if it represents a linestring or linear ring.(Overrides DbSpatialServices.GetPointCount(DbGeography).) |
![]() | GetPointCount(DbGeometry) | Returns the number of points in the given DbGeometry value, if it represents a linestring or linear ring.(Overrides DbSpatialServices.GetPointCount(DbGeometry).) |
SqlSpatialServices.GetPointCount Method (DbGeography)
Returns the number of points in the given DbGeography value, if it represents a linestring or linear ring.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value, which need not represent a linestring or linear ring.
SqlSpatialServices.GetPointCount Method (DbGeometry)
Returns the number of points in the given DbGeometry value, if it represents a linestring or linear ring.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value, which need not represent a linestring or linear ring.