语言

DbSpatialServices.GetIsEmpty 方法

定义

重载

名称 说明
GetIsEmpty(DbGeography)

返回一个可为 null 的布尔值,该值是否为 DbGeography 空。

GetIsEmpty(DbGeometry)

返回一个可为 null 的布尔值,该值是否为 DbGeometry 空。

GetIsEmpty(DbGeography)

返回一个可为 null 的布尔值,该值是否为 DbGeography 空。

public abstract bool GetIsEmpty(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetIsEmpty : System.Data.Entity.Spatial.DbGeography -> bool
Public MustOverride Function GetIsEmpty (geographyValue As DbGeography) As Boolean

参数

geographyValue
DbGeography

地理值。

返回

如果给定 DbGeography 值为空,则为 True;否则为 false。

例外

geographyValue 为 null。

geographyValue 与此空间服务实现不兼容。

适用于

GetIsEmpty(DbGeometry)

返回一个可为 null 的布尔值,该值是否为 DbGeometry 空。

public abstract bool GetIsEmpty(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetIsEmpty : System.Data.Entity.Spatial.DbGeometry -> bool
Public MustOverride Function GetIsEmpty (geometryValue As DbGeometry) As Boolean

参数

geometryValue
DbGeometry

几何图形值。

返回

如果给定 DbGeometry 值为空,则为 True;否则为 false。

例外

geometryValue 为 null。

geometryValue 与此空间服务实现不兼容。

适用于