SpatialEdmFunctions.AsBinary(DbExpression) Metod

Definition

Skapar en DbFunctionExpression som anropar den kanoniska "AsBinary"-funktionen med det angivna argumentet, som måste ha resultattypen Edm.Geography eller Edm.Geometry. Resultattypen för uttrycket är 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

Parametrar

spatialValue
DbExpression

Ett uttryck som anger det rumsliga värde som den välkända binära representationen ska skapas från.

Returer

En ny DbFunctionExpression som returnerar den välkända binära representationen av spatialValue.

Undantag

spatialValue

spatialValue

Gäller för