Metodo SpatialEdmFunctions.GeographyMultiPointFromBinary
[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 'GeographyMultiPointFromBinary' canonica con gli argomenti specificati. multiPointWellKnownBinaryValue deve presentare un tipo di risultato binario, mentre coordinateSystemId deve presentare un tipo di risultato numerico Integer. Il tipo di risultato dell'espressione è Edm.Geography.
Spazio dei nomi: System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiPoint", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi", _
Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiPoint", _
Justification := "Match OGC, EDM")> _
Public Shared Function GeographyMultiPointFromBinary ( _
multiPointWellKnownBinaryValue As DbExpression, _
coordinateSystemId As DbExpression _
) As DbFunctionExpression
'Utilizzo
Dim multiPointWellKnownBinaryValue As DbExpression
Dim coordinateSystemId As DbExpression
Dim returnValue As DbFunctionExpression
returnValue = SpatialEdmFunctions.GeographyMultiPointFromBinary(multiPointWellKnownBinaryValue, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiPoint",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiPoint",
Justification = "Match OGC, EDM")]
public static DbFunctionExpression GeographyMultiPointFromBinary(
DbExpression multiPointWellKnownBinaryValue,
DbExpression coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiPoint",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi",
Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"MultiPoint",
Justification = L"Match OGC, EDM")]
public:
static DbFunctionExpression^ GeographyMultiPointFromBinary(
DbExpression^ multiPointWellKnownBinaryValue,
DbExpression^ coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiPoint",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi",
Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiPoint",
Justification = "Match OGC, EDM")>]
static member GeographyMultiPointFromBinary :
multiPointWellKnownBinaryValue:DbExpression *
coordinateSystemId:DbExpression -> DbFunctionExpression
public static function GeographyMultiPointFromBinary(
multiPointWellKnownBinaryValue : DbExpression,
coordinateSystemId : DbExpression
) : DbFunctionExpression
Parametri
- multiPointWellKnownBinaryValue
Tipo: System.Data.Entity.Core.Common.CommandTrees.DbExpression
Espressione che fornisce la rappresentazione binaria nota del valore del multipunto geografico.
- coordinateSystemId
Tipo: System.Data.Entity.Core.Common.CommandTrees.DbExpression
Espressione che fornisce l'ID del sistema di coordinate (SRID) del valore del multipunto geografico.
Valore restituito
Tipo: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Nuovo elemento DbFunctionExpression che restituisce un nuovo valore del multipunto geografico basato sui valori specificati.
Vedere anche
Riferimento
Spazio dei nomi System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial