SpatialEdmFunctions.SpatialTypeName(DbExpression) Metoda

Definicja

Tworzy obiekt DbFunctionExpression , który wywołuje kanoniczną funkcję "SpatialTypeName" z określonym argumentem, który musi mieć typ wyniku Edm.Geography lub Edm.Geometry. Typ wyniku wyrażenia to 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

Parametry

spatialValue
DbExpression

Wyrażenie określające wartość, z której ma zostać pobrana nazwa typu geometrii.

Zwraca

Nowa funkcja DbFunctionExpression zwracająca nazwę typu Geometrii ciągu z klasy spatialValue.

Wyjątki

spatialValue

spatialValue

Dotyczy