SqlSpatialServices.GetArea Method
Returns a nullable double value that indicates the area of the given DbGeography value, which may be null if the value does not represent a surface.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | GetArea(DbGeography) | Returns a nullable double value that indicates the area of the given DbGeography value, which may be null if the value does not represent a surface.(Overrides DbSpatialServices.GetArea(DbGeography).) |
![]() | GetArea(DbGeometry) | Returns a nullable double value that indicates the area of the given DbGeometry value, which may be null if the value does not represent a surface.(Overrides DbSpatialServices.GetArea(DbGeometry).) |
SqlSpatialServices.GetArea Method (DbGeography)
Returns a nullable double value that indicates the area of the given DbGeography value, which may be null if the value does not represent a surface.
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The geography value, which need not represent a surface.
Return Value
Type: System.Nullable<Double>A nullable double value that indicates the area of the given DbGeography value.
SqlSpatialServices.GetArea Method (DbGeometry)
Returns a nullable double value that indicates the area of the given DbGeometry value, which may be null if the value does not represent a surface.
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The geometry value, which need not represent a surface.
Return Value
Type: System.Nullable<Double>A nullable double value that indicates the area of the given DbGeometry value.