Condividi tramite


Metodo SpatialEdmFunctions.GeometryFromGml (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 l'argomento specificato, che deve presentare un tipo di risultato String. 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 _
) As DbFunctionExpression
'Utilizzo
Dim geometryMarkup As DbExpression 
Dim returnValue As DbFunctionExpression 

returnValue = SpatialEdmFunctions.GeometryFromGml(geometryMarkup)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml", 
    Justification = "Abbreviation more meaningful than what it stands for")]
public static DbFunctionExpression GeometryFromGml(
    DbExpression geometryMarkup
)
[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
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml", 
    Justification = "Abbreviation more meaningful than what it stands for")>]
static member GeometryFromGml : 
        geometryMarkup:DbExpression -> DbFunctionExpression
public static function GeometryFromGml(
    geometryMarkup : DbExpression
) : DbFunctionExpression

Parametri

Valore restituito

Tipo: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Nuovo elemento DbFunctionExpression che restituisce un nuovo valore geometrico basato sul valore specificato con l'ID del sistema di coordinate (SRID) predefinito del provider sottostante.

Vedere anche

Riferimento

SpatialEdmFunctions Classe

Overload GeometryFromGml

Spazio dei nomi System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial