SqlSpatialServices.GetLength Method
Gets the length of a given value.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | GetLength(DbGeography) | Returns a nullable double value that indicates the length of the given DbGeography value, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetLength(DbGeography).) |
![]() | GetLength(DbGeometry) | Returns a nullable double value that indicates the length of the given DbGeometry value, which may be null if the value does not represent a curve.(Overrides DbSpatialServices.GetLength(DbGeometry).) |
SqlSpatialServices.GetLength Method (DbGeography)
Returns a nullable double value that indicates the length of the given DbGeography value, which may be null if the value does not represent a curve.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value, which need not represent a curve.
SqlSpatialServices.GetLength Method (DbGeometry)
Returns a nullable double value that indicates the length of the given DbGeometry value, which may be null if the value does not represent a curve.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value, which need not represent a curve.