Sdílet prostřednictvím


SpatialEdmFunctions.Area(DbExpression) Metoda

Definice

Vytvoří , DbFunctionExpression který 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 static System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression Area (this System.Data.Entity.Core.Common.CommandTrees.DbExpression spatialValue);
static member Area : System.Data.Entity.Core.Common.CommandTrees.DbExpression -> System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Area (spatialValue As DbExpression) As DbFunctionExpression

Parametry

spatialValue
DbExpression

Výraz, který určuje hodnotu prostorové plochy, pro kterou se má oblast vypočítat.

Návraty

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

Platí pro