Share via


SpatialEdmFunctions.SpatialTypeName(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'SpatialTypeName' canonica con l'argomento specificato, che deve presentare 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 di geometria.

Restituisce

Nuovo DbFunctionExpression che restituisce la stringa del nome Geometry Type da spatialValue.

Eccezioni

spatialValue

spatialValue

Si applica a