SpatialEdmFunctions.AsText(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'AsText' canonica con l'argomento specificato, che deve avere un tipo di risultato Edm.Geography o Edm.Geometry. Il tipo di risultato dell'espressione è Edm.String.

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

Parametri

spatialValue
DbExpression

Espressione che specifica il valore spaziale da cui deve essere prodotta la rappresentazione di testo nota.

Valori restituiti

Nuovo DbFunctionExpression che restituisce la rappresentazione di testo nota di spatialValue.

Eccezioni

spatialValue

spatialValue

Si applica a