Metodo DbSpatialServices.GeographyFromGml (String, Int32)
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Crea un nuovo valore DbGeography in base al valore GML e all'identificatore del sistema di coordinate (SRID) specificati.
Spazio dei nomi: System.Data.Entity.Spatial
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Gml")> _
Public MustOverride Function GeographyFromGml ( _
geographyMarkup As String, _
coordinateSystemId As Integer _
) As DbGeography
'Utilizzo
Dim instance As DbSpatialServices
Dim geographyMarkup As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeography
returnValue = instance.GeographyFromGml(geographyMarkup, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml")]
public abstract DbGeography GeographyFromGml(
string geographyMarkup,
int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Gml")]
public:
virtual DbGeography^ GeographyFromGml(
String^ geographyMarkup,
int coordinateSystemId
) abstract
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml")>]
abstract GeographyFromGml :
geographyMarkup:string *
coordinateSystemId:int -> DbGeography
public abstract function GeographyFromGml(
geographyMarkup : String,
coordinateSystemId : int
) : DbGeography
Parametri
- geographyMarkup
Tipo: System.String
Stringa che contiene una rappresentazione GML del valore geografico.
- coordinateSystemId
Tipo: System.Int32
Identificatore del sistema di coordinate che deve essere utilizzato dal nuovo valore DbGeography.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeography
Nuovo valore DbGeography definito dal valore GML con l'identificatore del sistema di coordinate specificato.