SpatialEdmFunctions.SpatialDimension(DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a "SpatialDimension" függvényt a megadott argumentummal, amelynek Edm.Geography vagy Edm.Geometry eredménytípussal kell rendelkeznie. A kifejezés eredménytípusa: Edm.Int32.

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

Paraméterek

spatialValue
DbExpression

Egy kifejezés, amely megadja azt az értéket, amelyből a Dimenzió értéket le kell kérni.

Válaszok

Egy új DbFunctionExpression, amely a Dimenzió értéket adja vissza.spatialValue

Kivételek

spatialValue

spatialValue

A következőre érvényes: