SpatialEdmFunctions.AsBinary(DbExpression) Metoda

Definice

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

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

Parametry

spatialValue
DbExpression

Výraz, který určuje prostorovou hodnotu, ze které by se měla vytvořit známá binární reprezentace.

Návraty

Nový DbFunctionExpression, který vrátí známou binární reprezentaci spatialValue.

Výjimky

spatialValue

spatialValue

Platí pro