Metodo SqlSpatialServices.GeometryFromGml (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 DbGeometry in base al valore GML e all'identificatore del sistema di coordinate (SRID) specificati.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function GeometryFromGml ( _
geometryMarkup As String, _
coordinateSystemId As Integer _
) As DbGeometry
'Utilizzo
Dim instance As SqlSpatialServices
Dim geometryMarkup As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeometry
returnValue = instance.GeometryFromGml(geometryMarkup, _
coordinateSystemId)
public override DbGeometry GeometryFromGml(
string geometryMarkup,
int coordinateSystemId
)
public:
virtual DbGeometry^ GeometryFromGml(
String^ geometryMarkup,
int coordinateSystemId
) override
abstract GeometryFromGml :
geometryMarkup:string *
coordinateSystemId:int -> DbGeometry
override GeometryFromGml :
geometryMarkup:string *
coordinateSystemId:int -> DbGeometry
public override function GeometryFromGml(
geometryMarkup : String,
coordinateSystemId : int
) : DbGeometry
Parametri
- geometryMarkup
Tipo: System.String
Stringa che contiene una rappresentazione GML (Geography Markup Language) del valore geometrico.
- coordinateSystemId
Tipo: System.Int32
Identificatore del sistema di coordinate che deve essere utilizzato dal nuovo valore DbGeometry.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeometry
Nuovo valore DbGeometry definito dal valore GML con l'identificatore del sistema di coordinate specificato.