SpatialEdmFunctions.AsBinary(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'AsBinary' canonica con l'argomento specificato, che deve presentare un tipo di risultato Edm.Geography o Edm.Geometry. Il tipo di risultato dell'espressione è 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

Parametri

spatialValue
DbExpression

Espressione che specifica il valore spaziale dal quale creare la rappresentazione binaria nota.

Restituisce

DbFunctionExpression

Nuovo DbFunctionExpression che restituisce la rappresentazione binaria nota di spatialValue.

Eccezioni

spatialValue

spatialValue

Si applica a