Freigeben über


SpatialEdmFunctions.SpatialEnvelope-Methode

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Erstellt ein DbFunctionExpression, das die kanonische 'SpatialEnvelope'-Funktion mit dem angegebenen Argument aufruft, das den Ergebnistyp Edm.Geometry aufweisen muss. Der Ergebnistyp des Ausdrucks ist Edm.Geometry.

Namespace:  System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function SpatialEnvelope ( _
    geometryValue As DbExpression _
) As DbFunctionExpression
'Usage
Dim geometryValue As DbExpression 
Dim returnValue As DbFunctionExpression 

returnValue = geometryValue.SpatialEnvelope()
public static DbFunctionExpression SpatialEnvelope(
    this DbExpression geometryValue
)
[ExtensionAttribute]
public:
static DbFunctionExpression^ SpatialEnvelope(
    DbExpression^ geometryValue
)
static member SpatialEnvelope : 
        geometryValue:DbExpression -> DbFunctionExpression
public static function SpatialEnvelope(
    geometryValue : DbExpression
) : DbFunctionExpression

Parameter

Rückgabewert

Typ: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
Ein neuer DbFunctionExpression, der das minimale umgebende Feld für geometryValue zurückgibt.

Hinweis zur Verwendung

In Visual Basic und C# können Sie diese Methode als Instanzenmethode für ein beliebiges Objekt vom Typ DbExpression aufrufen. Bei Verwendung der Syntax für Instanzenmethoden lassen Sie den ersten Parameter aus. Weitere Informationen finden Sie unter https://msdn.microsoft.com/de-de/library/bb384936(v=vs.113) oder https://msdn.microsoft.com/de-de/library/bb383977(v=vs.113).

Siehe auch

Verweis

SpatialEdmFunctions Klasse

System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder.Spatial-Namespace