SpatialEdmFunctions.Area(DbExpression) Metoda

Definice

Vytvoří DbFunctionExpression vyvolá kanonickou funkci Area se zadaným argumentem, který musí mít typ výsledku Edm.Geography nebo Edm.Geometry. Typ výsledku výrazu je Edm.Double.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Area(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Area(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member Area : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Area (spatialValue As DbExpression) As DbFunctionExpression

Parametry

spatialValue
DbExpression

Výraz, který určuje prostorovou hodnotu povrchu, pro kterou se má oblast vypočítat.

Návraty

Nový DbFunctionExpression, který vrátí buď oblast spatialValue , nebo null pokud spatialValue není povrch.

Výjimky

spatialValue

spatialValue

Platí pro