Metodo SpatialEdmFunctions.GeometryFromGml (DbExpression, DbExpression)
[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 oggetto DbFunctionExpression che richiama la funzione 'GeometryFromGml' canonica con gli argomenti specificati. geometryMarkup deve presentare un tipo di risultato String, mentre coordinateSystemId deve presentare un tipo di risultato numerico Integer. Il tipo di risultato dell'espressione è Edm.Geometry.
Spazio dei nomi: System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Gml", _
Justification := "Abbreviation more meaningful than what it stands for")> _
Public Shared Function GeometryFromGml ( _
geometryMarkup As DbExpression, _
coordinateSystemId As DbExpression _
) As DbFunctionExpression
'Utilizzo
Dim geometryMarkup As DbExpression
Dim coordinateSystemId As DbExpression
Dim returnValue As DbFunctionExpression
returnValue = SpatialEdmFunctions.GeometryFromGml(geometryMarkup, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml",
Justification = "Abbreviation more meaningful than what it stands for")]
public static DbFunctionExpression GeometryFromGml(
DbExpression geometryMarkup,
DbExpression coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Gml",
Justification = L"Abbreviation more meaningful than what it stands for")]
public:
static DbFunctionExpression^ GeometryFromGml(
DbExpression^ geometryMarkup,
DbExpression^ coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml",
Justification = "Abbreviation more meaningful than what it stands for")>]
static member GeometryFromGml :
geometryMarkup:DbExpression *
coordinateSystemId:DbExpression -> DbFunctionExpression
public static function GeometryFromGml(
geometryMarkup : DbExpression,
coordinateSystemId : DbExpression
) : DbFunctionExpression
Parametri
- geometryMarkup
Tipo: System.Data.Entity.Core.Common.CommandTrees.DbExpression
Espressione che fornisce la rappresentazione GML (Geography Markup Language) del valore geometrico.
- coordinateSystemId
Tipo: System.Data.Entity.Core.Common.CommandTrees.DbExpression
Espressione che fornisce l'ID del sistema di coordinate (SRID) del valore geometrico.
Valore restituito
Tipo: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Nuovo elemento DbFunctionExpression che restituisce un nuovo valore geometrico basato sui valori specificati.
Vedere anche
Riferimento
Spazio dei nomi System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial