Condividi tramite


Metodo SqlSpatialServices.GeographyMultiPolygonFromText

[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 multipoligono DbGeography in base al valore WKT e all'identificatore del sistema di coordinate specificati.

Spazio dei nomi:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

Sintassi

'Dichiarazione
Public Overrides Function GeographyMultiPolygonFromText ( _
    multiPolygonKnownText As String, _
    coordinateSystemId As Integer _
) As DbGeography
'Utilizzo
Dim instance As SqlSpatialServices 
Dim multiPolygonKnownText As String 
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeography 

returnValue = instance.GeographyMultiPolygonFromText(multiPolygonKnownText, _
    coordinateSystemId)
public override DbGeography GeographyMultiPolygonFromText(
    string multiPolygonKnownText,
    int coordinateSystemId
)
public:
virtual DbGeography^ GeographyMultiPolygonFromText(
    String^ multiPolygonKnownText, 
    int coordinateSystemId
) override
abstract GeographyMultiPolygonFromText : 
        multiPolygonKnownText:string * 
        coordinateSystemId:int -> DbGeography  
override GeographyMultiPolygonFromText : 
        multiPolygonKnownText:string * 
        coordinateSystemId:int -> DbGeography
public override function GeographyMultiPolygonFromText(
    multiPolygonKnownText : String, 
    coordinateSystemId : int
) : DbGeography

Parametri

  • coordinateSystemId
    Tipo: System.Int32
    Identificatore del sistema di coordinate.

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeography
Nuovo valore multipoligono DbGeography.

Vedere anche

Riferimento

SqlSpatialServices Classe

Spazio dei nomi System.Data.Entity.SqlServer