Condividi tramite


SqlSpatialServices.CreateWellKnownValue Metodo

Definizione

Overload

CreateWellKnownValue(DbGeometry)

Crea un'istanza di DbGeometryWellKnownValue che rappresenta il valore specificato di DbGeometry utilizzando uno o entrambi i formati spaziali noti standard.

CreateWellKnownValue(DbGeography)

Crea un'istanza di DbGeographyWellKnownValue che rappresenta il valore specificato di DbGeography utilizzando uno o entrambi i formati spaziali noti standard.

CreateWellKnownValue(DbGeometry)

Crea un'istanza di DbGeometryWellKnownValue che rappresenta il valore specificato di DbGeometry utilizzando uno o entrambi i formati spaziali noti standard.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly")]
public override System.Data.Entity.Spatial.DbGeometryWellKnownValue CreateWellKnownValue (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.CreateWellKnownValue : System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometryWellKnownValue
Public Overrides Function CreateWellKnownValue (geometryValue As DbGeometry) As DbGeometryWellKnownValue

Parametri

geometryValue
DbGeometry

Valore di geometria.

Restituisce

Rappresentazione nota di geometryValue, come nuovo DbGeometryWellKnownValue .

Attributi

Si applica a

CreateWellKnownValue(DbGeography)

Crea un'istanza di DbGeographyWellKnownValue che rappresenta il valore specificato di DbGeography utilizzando uno o entrambi i formati spaziali noti standard.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2208:InstantiateArgumentExceptionsCorrectly")]
public override System.Data.Entity.Spatial.DbGeographyWellKnownValue CreateWellKnownValue (System.Data.Entity.Spatial.DbGeography geographyValue);
override this.CreateWellKnownValue : System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeographyWellKnownValue
Public Overrides Function CreateWellKnownValue (geographyValue As DbGeography) As DbGeographyWellKnownValue

Parametri

geographyValue
DbGeography

Valore di geografia.

Restituisce

Rappresentazione nota di geographyValue, come nuovo DbGeographyWellKnownValue .

Attributi

Si applica a