SpatialEdmFunctions.GeometryCollectionFromText Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja a "GeometryCollectionFromText" függvényt a megadott argumentumokkal. geometryCollectionWellKnownText sztring eredménytípussal kell rendelkeznie, míg coordinateSystemId egész szám típusúnak kell lennie. A kifejezés eredménytípusa Edm.Geometry.

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryCollectionFromText(System::Data::Common::CommandTrees::DbExpression ^ geometryCollectionWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryCollectionFromText(System.Data.Common.CommandTrees.DbExpression geometryCollectionWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryCollectionFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryCollectionFromText (geometryCollectionWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

Paraméterek

geometryCollectionWellKnownText
DbExpression

A geometriai gyűjtemény értékének jól ismert szöveges ábrázolását biztosító kifejezés.

coordinateSystemId
DbExpression

A geometriagyűjtési érték koordinátarendszerének koordinátarendszer-azonosítóját (SRID) biztosító kifejezés.

Válaszok

Új DbFunctionExpression, amely egy új geometriai gyűjteményértéket ad vissza a megadott értékek alapján.

Kivételek

geometryCollectionWellKnownText coordinateSystemId

geometryCollectionWellKnownText coordinateSystemId

A következőre érvényes: