SpatialEdmFunctions.SpatialTypeName(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'SpatialTypeName' 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 ^ SpatialTypeName(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialTypeName(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member SpatialTypeName : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialTypeName (spatialValue As DbExpression) As DbFunctionExpression

Parametri

spatialValue
DbExpression

Espressione che specifica il valore da cui recuperare il nome del tipo geometry.

Valori restituiti

Nuovo DbFunctionExpression che restituisce il nome del tipo geometry stringa da spatialValue.

Eccezioni

spatialValue

spatialValue

Si applica a