SpatialEdmFunctions.AsBinary(DbExpression) Metodo

Definizione

Crea un DbFunctionExpression oggetto che richiama la funzione 'AsBinary' canonica con l'argomento specificato, che deve avere 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 da cui deve essere prodotta la rappresentazione binaria nota.

Valori restituiti

Nuovo DbFunctionExpression che restituisce la rappresentazione binaria nota di spatialValue.

Eccezioni

spatialValue

spatialValue

Si applica a